public final class IndexedArrayVector extends AVector
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
indexes |
protected int |
length |
| Modifier and Type | Method and Description |
|---|---|
IndexedArrayVector |
exactClone()
Returns an exact clone of this vector, i.e.
|
double |
get(int i) |
boolean |
isView()
Returns true if this vector is of a view type that references other vectors / data.
|
int |
length() |
void |
set(int i,
double value) |
IndexedArrayVector |
subVector(int offset,
int length)
Obtains a sub-vector that refers to this vector.
|
static IndexedArrayVector |
wrap(double[] data,
int[] indexes) |
abs, add, add, add, add, add, add, addAt, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultipleToArray, addProduct, addProduct, addProduct, addProductToArray, addProductToArray, addToArray, addWeighted, angle, applyOp, applyOp, asList, asVector, broadcast, clamp, clampMax, clampMin, clone, compareTo, copyTo, copyTo, copyTo, copyTo, copyTo, countZeros, crossProduct, dimensionality, distance, distanceL1, distanceLinf, distanceSquared, divide, divide, divide, divideTo, dotProduct, dotProduct, elementCount, elementSum, epsilonEquals, epsilonEquals, equals, equals, equals, equalsArray, fill, fillRange, get, getShape, getSlices, hashCode, innerProduct, innerProduct, innerProduct, interpolate, interpolate, isElementConstrained, isFullyMutable, isMutable, isUnitLengthVector, isZeroVector, iterator, join, magnitude, magnitudeSquared, maxAbsElement, multiply, multiply, multiply, multiplyTo, negate, normalise, normaliseMaxAbsElement, outerProduct, outerProduct, projectToPlane, reshape, scale, scale, scaleAdd, scaleAdd, scaleToMagnitude, set, set, set, set, set, set, set, set, set, signum, slice, sliceCount, square, sub, sub, sub, subMultiple, toArray, toList, toStringget, get, set, setpublic static IndexedArrayVector wrap(double[] data, int[] indexes)
public double get(int i)
public void set(int i,
double value)
public IndexedArrayVector subVector(int offset, int length)
AVectorpublic IndexedArrayVector exactClone()
AVectorexactClone in interface INDArrayexactClone in class AVectorpublic boolean isView()
AVectorCopyright © 2013. All Rights Reserved.