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