public final class IdenticalElementVector extends AVector
| Constructor and Description |
|---|
IdenticalElementVector(int dims) |
IdenticalElementVector(int dims,
double value) |
| Modifier and Type | Method and Description |
|---|---|
static IdenticalElementVector |
create(int dims,
double value) |
double |
get(int i) |
boolean |
isFullyMutable()
Returns true if this vector is fully mutable, i.e.
|
int |
length() |
void |
scale(double factor)
Scales the vector by a scalar factor
|
void |
set(int i,
double value) |
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, elementSum, epsilonEquals, epsilonEquals, equals, fill, fillRange, get, hashCode, interpolate, interpolate, isMutable, isReference, isUnitLengthVector, isZeroVector, iterator, join, magnitude, magnitudeSquared, maxAbsElement, multiply, multiply, multiply, multiplyTo, negate, normalise, normaliseMaxAbsElement, projectToPlane, reshape, scale, scaleAdd, scaleToMagnitude, set, set, set, set, setValues, sub, subMultiple, subVector, toArray, toList, toStringpublic IdenticalElementVector(int dims)
public IdenticalElementVector(int dims,
double value)
public static IdenticalElementVector create(int dims, double value)
public int length()
public boolean isFullyMutable()
AVectorisFullyMutable in class AVectorpublic double get(int i)
public void scale(double factor)
AVectorCopyright © 2013. All Rights Reserved.