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, zSum
aggregate, 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, vStrides
public 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.DenseDoubleMatrix1D
DoubleMatrix1D.getQuick(int)
public double[] toArray()
toArray
in class cern.colt.matrix.DoubleMatrix1D
DoubleMatrix1D.toArray()
Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.