public final class ZeroVector extends APrimitiveVector
| Constructor and Description |
|---|
ZeroVector(int dimensions) |
| Modifier and Type | Method and Description |
|---|---|
double |
get(int i) |
boolean |
isUnitLengthVector()
Returns true if the vector has unit length
|
boolean |
isZeroVector()
Returns true if this vector is the zero vector
|
int |
length() |
void |
set(int i,
double value) |
isReferenceadd, addMultiple, angle, approxEquals, approxEquals, clone, compareTo, copy, copyTo, copyTo, distance, distanceSquared, dotProduct, equals, fill, hashCode, isMutable, join, magnitude, magnitudeSquared, manhattanDistance, multiply, negate, normalise, set, setValues, subtract, subtractMultiple, subVector, toStringpublic boolean isZeroVector()
AVectorisZeroVector in class AVectorpublic boolean isUnitLengthVector()
AVectorisUnitLengthVector in class AVectorCopyright © 2012. All Rights Reserved.