public final class RepeatedElementVector extends AVector
| Constructor and Description |
|---|
RepeatedElementVector(int dims) |
RepeatedElementVector(int dims,
double value) |
| Modifier and Type | Method and Description |
|---|---|
static RepeatedElementVector |
create(int dims,
double value) |
RepeatedElementVector |
exactClone()
Returns an exact clone of this vector, i.e.
|
double |
get(int i) |
boolean |
isFullyMutable()
Returns true if this vector is fully mutable, i.e.
|
int |
length() |
void |
multiply(double factor)
Multiplies the vector by a constant factor
|
void |
set(int i,
double value) |
abs, add, add, add, add, add, add, addAt, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultipleToArray, addProduct, addProduct, addProduct, addProductToArray, addProductToArray, addToArray, addWeighted, angle, applyOp, applyOp, asElementList, asVector, broadcast, clamp, clampMax, clampMin, clone, compareTo, copyTo, copyTo, copyTo, copyTo, copyTo, countZeros, crossProduct, dimensionality, distance, distanceL1, distanceLinf, distanceSquared, divide, divide, divide, divideTo, dotProduct, dotProduct, elementCount, elementSum, epsilonEquals, epsilonEquals, equals, equals, equals, equalsArray, fill, fillRange, get, getLongShape, getShape, getSlices, hashCode, innerProduct, innerProduct, innerProduct, interpolate, interpolate, isElementConstrained, isMutable, isUnitLengthVector, isView, isZeroVector, iterator, join, magnitude, magnitudeSquared, maxAbsElement, multiply, multiply, multiplyTo, negate, normalise, normaliseMaxAbsElement, outerProduct, outerProduct, projectToPlane, reshape, scale, scaleAdd, scaleAdd, scaleToMagnitude, set, set, set, set, set, set, set, set, setElements, setValues, signum, slice, sliceCount, square, sub, sub, sub, subMultiple, subVector, toArray, toList, toStringget, get, scale, set, set, setElementspublic RepeatedElementVector(int dims)
public RepeatedElementVector(int dims,
double value)
public static RepeatedElementVector create(int dims, double value)
public int length()
public boolean isFullyMutable()
AVectorisFullyMutable in interface INDArrayisFullyMutable in class AVectorpublic double get(int i)
public void multiply(double factor)
AVectorpublic void set(int i,
double value)
public RepeatedElementVector exactClone()
AVectorexactClone in interface INDArrayexactClone in class AVectorCopyright © 2013. All Rights Reserved.