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 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.
|
add, addMultiple, angle, approxEquals, approxEquals, clone, compareTo, copy, copyTo, copyTo, distance, distanceSquared, dotProduct, equals, fill, hashCode, isMutable, isUnitLengthVector, isZeroVector, join, magnitude, magnitudeSquared, manhattanDistance, multiply, negate, normalise, set, setValues, subtract, subtractMultiple, 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.