public final class WrappedSubVector extends AVector
| Constructor and Description |
|---|
WrappedSubVector(AVector source,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
double |
get(int i) |
boolean |
isView()
Returns true if this vector is of a view type that references other vectors / data.
|
Iterator<Double> |
iterator() |
int |
length() |
void |
set(int i,
double value) |
WrappedSubVector |
subVector(int offset,
int length)
Obtains a sub-vector that refers to this vector.
|
absolute, add, add, addMultiple, addMultiple, addMultiple, addMultipleToArray, addProduct, addProduct, addProduct, addToArray, addWeighted, angle, asList, asVector, clamp, clampMax, clampMin, clone, compareTo, copy, copyTo, copyTo, dimensionality, distance, distanceL1, distanceLinf, distanceSquared, divide, divide, divide, divideTo, dotProduct, dotProduct, elementCount, elementSum, epsilonEquals, epsilonEquals, equals, fill, fillRange, get, getShape, hashCode, interpolate, interpolate, isFullyMutable, isMutable, isUnitLengthVector, isZeroVector, join, magnitude, magnitudeSquared, maxAbsElement, multiply, multiply, multiply, multiplyTo, negate, normalise, normaliseMaxAbsElement, projectToPlane, reshape, scale, scale, scaleAdd, scaleToMagnitude, set, set, set, set, setValues, slice, sub, subMultiple, toArray, toList, toStringpublic WrappedSubVector(AVector source, int offset, int length)
public int length()
public boolean isView()
AVectorpublic double get(int i)
public void set(int i,
double value)
public WrappedSubVector subVector(int offset, int length)
AVectorCopyright © 2013. All Rights Reserved.