public class DenseDoubleMatrix1D
extends cern.colt.matrix.impl.DenseDoubleMatrix1D
| Modifier | Constructor and Description |
|---|---|
|
DenseDoubleMatrix1D(double[] values) |
|
DenseDoubleMatrix1D(int size) |
protected |
DenseDoubleMatrix1D(int size,
double[] elements,
int zero,
int stride) |
| Modifier and Type | Method and Description |
|---|---|
double |
getQuick(int i)
This is an optimized version of getQuick.
|
double[] |
toArray()
WARNING unlike the superclass, this returns the actual underlying array, not a copy.
|
assign, assign, assign, assign, assign, cardinality, haveSharedCellsRaw, index, like, like2D, setQuick, swap, toArray, viewSelectionLike, zDotProduct, zSumaggregate, aggregate, assign, cardinality, copy, equals, equals, get, getContent, getNonZeros, getNonZeros, haveSharedCells, like, set, toString, view, viewFlip, viewPart, viewSelection, viewSelection, viewSorted, viewStrides, zDotProduct, zDotProduct, zDotProduct_offset, _rank, checkIndex, checkIndexes, checkRange, checkSize, checkSize, setUp, setUp, size, stride, toStringShort, vFlip, vPart, vStridespublic DenseDoubleMatrix1D(double[] values)
values - public DenseDoubleMatrix1D(int size)
size - protected DenseDoubleMatrix1D(int size,
double[] elements,
int zero,
int stride)
size - elements - zero - stride - public double getQuick(int i)
getQuick in class cern.colt.matrix.impl.DenseDoubleMatrix1DDoubleMatrix1D.getQuick(int)public double[] toArray()
toArray in class cern.colt.matrix.DoubleMatrix1DDoubleMatrix1D.toArray()Copyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.