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 |
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
|
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
|
add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, asVector, broadcast, cloneRow, columnCount, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, determinant, dimensionality, elementCount, elementMul, epsilonEquals, equals, equals, equals, equals, exactClone, get, get, get, getColumn, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getSlices, getTranspose, hashCode, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isElementConstrained, isFullyMutable, isIdentity, isInvertible, isMutable, isSquare, isZeroMatrix, iterator, mul, multiply, multiplyRow, outerProduct, outputDimensions, reshape, rowCount, scale, set, set, set, set, set, set, setElements, setElements, slice, sliceCount, sub, sub, sub, sub, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, trace, transformInPlace, transposeInPlacegetTranslationComponent, 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(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 class AMatrixpublic AVectorMatrix<?> clone()
ATransformCopyright © 2013. All Rights Reserved.