| Modifier and Type | Method and Description |
|---|---|
int |
columnCount()
Returns the number of columns in the matrix
|
static SubsetMatrix |
create(Index components,
int inputDimensions) |
double |
density()
Computes the density ratio of this sparse array
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
SubsetMatrix |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
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.
|
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
|
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
add, add, add, add, addAt, addMultiple, applyOp, applyOp, asVector, broadcast, calculateElement, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, determinant, dimensionality, elementCount, elementMul, epsilonEquals, equals, equals, equals, equals, get, get, get, getColumn, getLeadingDiagonal, getMatrixComponent, getRow, getShape, getSlices, getTranspose, hashCode, innerProduct, innerProduct, innerProduct, innerProduct, inverse, isElementConstrained, isIdentity, isInvertible, isMutable, isSquare, isView, isZeroMatrix, iterator, mul, outerProduct, reshape, scale, set, set, set, set, set, set, slice, sliceCount, sub, sub, sub, sub, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, trace, transformInPlace, transposeInPlacegetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic static SubsetMatrix create(Index components, int inputDimensions)
public void transform(AVector source, AVector dest)
ATransformtransform in interface ITransformtransform in class AMatrixpublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AMatrixpublic int inputDimensions()
ATransforminputDimensions in interface ITransforminputDimensions in class AMatrixpublic int outputDimensions()
ATransformoutputDimensions in interface ITransformoutputDimensions in class AMatrixpublic double elementSum()
AMatrixelementSum in class AMatrixpublic int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double density()
ISparsepublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic SubsetMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixCopyright © 2013. All Rights Reserved.