| Modifier and Type | Method and Description |
|---|---|
AVector |
asVector()
Returns the matrix values as a single reference Vector in the form [row0
row1 row2....]
|
double |
calculateElement(int i,
AVector v)
Calculates a single element of the output.
|
AMatrix |
clone()
Clones the transform, performing a deep copy where needed
|
int |
columnCount()
Returns the number of columns in the matrix
|
AMatrix |
compose(ATransform t)
Composes this transformation with another transformation, returning
a new combined transformation
|
void |
composeWith(AMatrix t) |
void |
composeWith(ATransform t)
Composes this transformation with a given transformation,
mutating the transformation to represent the combined transform
|
static ZeroMatrix |
create(int rows,
int columns) |
double |
determinant()
Calculates the determinant of the matrix.
|
void |
elementMul(AMatrix m)
Multiplies this matrix in-place by another in an entrywise manner (Hadamard product).
|
boolean |
equals(AMatrix m) |
ZeroMatrix |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
AVector |
getLeadingDiagonal()
Returns a new vector that contains the leading diagonal values of the matrix
|
ZeroMatrix |
getTranspose()
Returns a transposed version of this matrix.
|
int |
hashCode() |
AMatrix |
innerProduct(AMatrix m) |
int |
inputDimensions()
Returns the number of dimensions required for input vectors
|
boolean |
isFullyMutable()
Returns true if the INDArray is fully mutable in all positions
i.e.
|
boolean |
isInvertible()
Returns true if this transform is invertible
|
boolean |
isMutable()
Returns true if the INDArray is mutable (at least partially)
|
boolean |
isZeroMatrix()
Returns true if the matrix is the zero matrix (all components zero)
|
void |
multiply(double factor) |
int |
outputDimensions()
Returns the number of dimensions required for output vectors
|
int |
rowCount()
Returns the number of rows in the matrix
|
void |
set(int row,
int column,
double value)
Sets a specified element in the matrix
|
double |
trace() |
void |
transform(AVector input,
AVector output)
Transforms the source vector, storing the result in the given destination vector
|
add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, applyOp, broadcast, cloneRow, compose, copyOfMatrix, copyOfTranslationVector, dimensionality, elementCount, elementSum, epsilonEquals, equals, equals, equals, get, get, get, getColumn, getElements, getLongShape, getMatrixComponent, getRow, getShape, getSlices, innerProduct, innerProduct, innerProduct, inverse, isElementConstrained, isIdentity, isSquare, isView, iterator, mul, multiplyRow, outerProduct, reshape, scale, set, set, set, set, set, set, setElements, setElements, slice, sliceCount, sub, sub, sub, sub, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, transformInPlace, transposeInPlace, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AMatrixpublic boolean isMutable()
INDArraypublic int inputDimensions()
ATransforminputDimensions in interface ITransforminputDimensions in class AMatrixpublic void multiply(double factor)
public int outputDimensions()
ATransformoutputDimensions in interface ITransformoutputDimensions in class AMatrixpublic int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double determinant()
AMatrixdeterminant in class AMatrixpublic double calculateElement(int i,
AVector v)
ATransformcalculateElement in class AMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic AMatrix clone()
ATransformpublic boolean isZeroMatrix()
AMatrixisZeroMatrix in class AMatrixpublic void transform(AVector input, AVector output)
ATransformtransform in interface ITransformtransform in class AMatrixpublic boolean isInvertible()
ATransformisInvertible in class AMatrixpublic AVector asVector()
AMatrixpublic AMatrix compose(ATransform t)
ATransformpublic AMatrix innerProduct(AMatrix m)
innerProduct in class AMatrixpublic void composeWith(ATransform t)
ATransformcomposeWith in class AMatrixpublic void composeWith(AMatrix t)
composeWith in class AMatrixpublic void elementMul(AMatrix m)
AMatrixelementMul in class AMatrixpublic ZeroMatrix getTranspose()
AMatrixgetTranspose in class AMatrixpublic static ZeroMatrix create(int rows, int columns)
public AVector getLeadingDiagonal()
AMatrixgetLeadingDiagonal in class AMatrixpublic ZeroMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixCopyright © 2013. All Rights Reserved.