public abstract class AVectorMatrix<T extends AVector> extends AMatrix
| Constructor and Description |
|---|
AVectorMatrix() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
appendRow(AVector row) |
void |
applyOp(Op op)
Applies a unary operator to all elements of the array (in-place)
|
double |
calculateElement(int i,
AVector inputVector)
Calculates a single element of the output.
|
AVectorMatrix<?> |
clone()
Clones the transform, performing a deep copy where needed
|
double |
elementSquaredSum()
Returns the squared sum of all elements in the matrix
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
abstract T |
getRow(int row)
Gets a row of the matrix.
|
boolean |
isView()
Return true if this is a view
|
long |
nonZeroCount()
Returns the number of non-zero elements in the array.
|
void |
set(double value)
Sets all elements of an array to a specific double value
|
void |
set(int row,
int column,
double value)
Sets a specified element in the matrix
|
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
abs, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, asVector, broadcast, clamp, cloneRow, columnCount, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, copyTo, determinant, dimensionality, elementCount, elementMul, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exactClone, get, get, get, getColumn, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeView, hashCode, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isDiagonal, isElementConstrained, isFullyMutable, isHermitian, isIdentity, isInvertible, isLowerTriangular, isMutable, isPositiveDefinite, isSquare, isSymmetric, isUpperTriangular, isZeroMatrix, iterator, mul, multiply, multiply, multiplyRow, negate, outerProduct, outputDimensions, pow, reciprocal, reshape, rowCount, scale, scaleAdd, set, set, set, set, set, setElements, setElements, slice, slice, sliceCount, square, sub, sub, sub, sub, swapColumns, swapRows, toAffineTransform, toDoubleBuffer, toMutableMatrix, toString, toVector, trace, transformInPlace, transformInPlace, transposeInPlace, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic abstract void appendRow(AVector row)
public abstract T getRow(int row)
public double get(int row,
int column)
AMatrixpublic void set(double value)
INDArraypublic void set(int row,
int column,
double value)
AMatrixpublic void transform(AVector source, AVector dest)
ATransformtransform in interface ITransformtransform in class AMatrixpublic double calculateElement(int i,
AVector inputVector)
ATransformcalculateElement in class AMatrixpublic void applyOp(Op op)
INDArraypublic boolean isView()
INDArraypublic double elementSum()
AMatrixelementSum in interface INDArrayelementSum in class AMatrixpublic double elementSquaredSum()
AMatrixelementSquaredSum in interface INDArrayelementSquaredSum in class AMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class AMatrixpublic AVectorMatrix<?> clone()
ATransformCopyright © 2013. All Rights Reserved.