public class RangeVector extends AComputedVector
| Modifier and Type | Method and Description |
|---|---|
static RangeVector |
create(int start,
int length) |
double |
dotProduct(double[] data,
int offset)
Fast dot product with a double[] array.
|
double |
get(int i)
Returns the double value at the specified position in a 1D vector
|
int |
length() |
AVector |
subVector(int start,
int length)
Obtains a sub-vector that refers to this vector.
|
double |
unsafeGet(int i) |
exactClone, isMutable, setisElementConstrained, isFullyMutableabs, add, add, add, add, add, add, addAt, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultiple, addMultipleToArray, addProduct, addProduct, addProduct, addProductToArray, addProductToArray, addToArray, addToArray, addWeighted, angle, applyOp, applyOp, asDoubleArray, asElementList, asVector, broadcast, broadcastLike, broadcastLike, clamp, clampMax, clampMin, clone, compareTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, crossProduct, dimensionality, distance, distanceL1, distanceLinf, distanceSquared, divide, divide, divide, divide, divideTo, dotProduct, dotProduct, dotProduct, elementCount, elementIterator, elementSquaredSum, elementSum, epsilonEquals, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equalsArray, equalsArray, fill, fillRange, get, get, get, getElements, getLongShape, getShape, getShape, getShapeClone, getSlices, getTranspose, getTransposeCopy, getTransposeView, hashCode, immutable, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, interpolate, interpolate, isSameShape, isSameShape, isUnitLengthVector, isView, isZero, iterator, join, join, log, logistic, magnitude, magnitudeSquared, maxAbsElement, multiply, multiply, multiply, multiply, multiplyTo, mutable, negate, nonZeroCount, normalise, normaliseMaxAbsElement, outerProduct, outerProduct, pow, projectToPlane, reshape, rotateView, rotateView, scale, scaleAdd, scaleAdd, scaleToMagnitude, set, set, set, set, set, set, set, set, set, setElements, setElements, setRange, setValues, signum, slice, slice, sliceCount, square, sub, sub, sub, subArray, subMultiple, tanh, toDoubleArray, toDoubleBuffer, toList, toNormal, toString, toVector, unsafeSet, validate, zeroCountbroadcastCloneLike, ensureMutable, exp, get, getSlices, getSliceViews, isBoolean, reciprocal, scale, set, set, sqrt, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitbroadcastCloneLike, ensureMutable, exp, get, getSlices, getSliceViews, isBoolean, reciprocal, scale, set, set, sqrt, toArraypublic static RangeVector create(int start, int length)
public int length()
length in interface IVectorlength in class AComputedVectorpublic double get(int i)
INDArraypublic double dotProduct(double[] data,
int offset)
AVectordotProduct in class AVectorCopyright © 2013. All Rights Reserved.