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 |
isReference()
Returns true if this vector is of a type that references other vectors / data.
|
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, addMultiple, angle, clamp, clampMax, clampMin, clone, compareTo, copy, copyTo, copyTo, distance, distanceL1, distanceLinf, distanceSquared, dotProduct, epsilonEquals, epsilonEquals, equals, fill, hashCode, interpolate, interpolate, isMutable, isUnitLengthVector, isZeroVector, join, magnitude, magnitudeSquared, multiply, negate, normalise, projectToPlane, scale, scaleAdd, set, setValues, sub, subMultiple, toArray, toList, toStringpublic WrappedSubVector(AVector source, int offset, int length)
public boolean isReference()
AVectorisReference in class AVectorpublic WrappedSubVector subVector(int offset, int length)
AVectorCopyright © 2012. All Rights Reserved.