public abstract class AStridedVector extends AVector implements IStridedArray
| Constructor and Description |
|---|
AStridedVector() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Vector v) |
AStridedVector |
clone()
Clones the vector, creating a new copy of all data.
|
double |
dotProduct(double[] data,
int offset) |
AStridedVector |
ensureMutable()
Ensures the array is a fully mutable, efficient representation that is not
a view.
|
abstract double[] |
getArray() |
abstract int |
getArrayOffset() |
abstract int |
getStride() |
int |
getStride(int dimension) |
int[] |
getStrides() |
abs, 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, asElementList, asVector, broadcast, clamp, clampMax, clampMin, compareTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, crossProduct, dimensionality, distance, distanceL1, distanceLinf, distanceSquared, divide, divide, divide, divideTo, dotProduct, dotProduct, dotProduct, elementCount, elementIterator, elementSquaredSum, elementSum, epsilonEquals, epsilonEquals, equals, equals, equals, equalsArray, exactClone, fill, fillRange, get, get, getElements, getLongShape, getShape, getShape, getSlices, getTranspose, getTransposeView, hashCode, innerProduct, innerProduct, innerProduct, interpolate, interpolate, isElementConstrained, isFullyMutable, isMutable, isUnitLengthVector, isView, isZeroVector, iterator, join, length, log, logistic, magnitude, magnitudeSquared, maxAbsElement, multiply, multiply, multiply, multiply, multiplyTo, negate, nonZeroCount, normalise, normaliseMaxAbsElement, outerProduct, outerProduct, pow, projectToPlane, reshape, scale, scaleAdd, scaleAdd, scaleToMagnitude, set, set, set, set, set, set, set, set, set, set, setElements, setElements, setValues, signum, slice, slice, sliceCount, square, sub, sub, sub, subMultiple, subVector, tanh, toDoubleArray, toDoubleBuffer, toList, toString, toVector, unsafeGet, unsafeSet, validate, zeroCountepsilonEquals, epsilonEquals, exp, get, get, getSliceViews, isBoolean, reciprocal, scale, set, set, sqrt, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitgetShapeabs, add, add, applyOp, applyOp, asElementList, asVector, broadcast, clamp, copyTo, dimensionality, elementCount, elementIterator, elementSquaredSum, elementSum, epsilonEquals, epsilonEquals, equals, exactClone, exp, fill, get, get, get, get, getElements, getLongShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeView, innerProduct, isBoolean, isElementConstrained, isFullyMutable, isMutable, isView, log, multiply, multiply, negate, nonZeroCount, outerProduct, pow, reciprocal, reshape, scale, scaleAdd, set, set, set, set, set, set, setElements, setElements, signum, slice, slice, sliceCount, sqrt, square, sub, sub, toArray, toDoubleArray, toDoubleBuffer, toVector, validatepublic abstract double[] getArray()
getArray in interface IStridedArraypublic abstract int getArrayOffset()
getArrayOffset in interface IStridedArraypublic abstract int getStride()
public AStridedVector ensureMutable()
INDArrayensureMutable in interface INDArrayensureMutable in class AbstractArray<Double>public double dotProduct(double[] data,
int offset)
dotProduct in class AVectorpublic AStridedVector clone()
AVectorpublic void add(Vector v)
public int[] getStrides()
getStrides in interface IStridedArraypublic int getStride(int dimension)
getStride in interface IStridedArrayCopyright © 2013. All Rights Reserved.