public class BlockDiagonalMatrix extends ABlockMatrix implements ISparse
| Modifier and Type | Method and Description |
|---|---|
int |
columnBlockCount() |
int |
columnCount()
Returns the number of columns in the matrix
|
void |
copyColumnTo(int col,
double[] dest,
int destOffset) |
void |
copyRowTo(int row,
double[] dest,
int destOffset) |
static BlockDiagonalMatrix |
create(AMatrix... blocks) |
double |
density()
Computes the density ratio of this sparse array (proportion of non-zero elements)
|
AMatrix |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
AMatrix |
getBlock(int rowBlock,
int colBlock) |
int |
getBlockColumnCount(int colBlock) |
int |
getBlockRowCount(int rowBlock) |
int |
getColumnBlockIndex(int col) |
int |
getRowBlockIndex(int row) |
boolean |
isFullyMutable()
If this method returns true, the INDArray is guaranteed to be fully mutable
in all positions i.e.
|
boolean |
isMutable()
Returns true if the INDArray is mutable (at least partially)
|
int |
rowBlockCount() |
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
|
abs, add, add, add, add, add, addAt, addMultiple, addRowMultiple, applyOp, applyOp, asDoubleArray, asElementList, asVector, bandIndex, bandLength, bandLength, bandPosition, broadcast, broadcastCloneLike, broadcastLike, broadcastLike, calculateElement, calculateElement, clamp, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, copyTo, determinant, dimensionality, divide, divide, elementCount, elementDiv, elementIterator, elementMul, elementSquaredSum, elementSum, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exp, fill, get, get, get, getBand, getBandWrapped, getColumn, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getRow, getShape, getShape, getShapeClone, getSlices, getSlices, getSliceViews, getTranspose, getTransposeCopy, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, immutable, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isBoolean, isDiagonal, isElementConstrained, isHermitian, isIdentity, isInvertible, isLowerTriangular, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSquare, isSymmetric, isUpperTriangular, isView, isZero, iterator, join, log, lowerBandwidth, lowerBandwidthLimit, mul, multiply, multiply, multiplyRow, mutable, negate, nonZeroCount, outerProduct, outputDimensions, pow, reciprocal, reshape, reshape, rotateView, scale, scaleAdd, set, set, set, set, set, set, setColumn, setElements, setElements, setRow, signum, slice, slice, sliceCount, sqrt, square, sub, sub, sub, sub, sub, subArray, subMatrix, swapColumns, swapRows, toAffineTransform, toArray, toDoubleArray, toDoubleBuffer, toMatrix, toMatrixTranspose, toMutableMatrix, toString, toVector, trace, transform, transform, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, unsafeGet, unsafeSet, upperBandwidth, upperBandwidthLimit, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic static BlockDiagonalMatrix create(AMatrix... blocks)
public boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AMatrixpublic boolean isMutable()
INDArraypublic AMatrix getBlock(int rowBlock, int colBlock)
getBlock in class ABlockMatrixpublic int getBlockColumnCount(int colBlock)
getBlockColumnCount in class ABlockMatrixpublic int getBlockRowCount(int rowBlock)
getBlockRowCount in class ABlockMatrixpublic int getColumnBlockIndex(int col)
getColumnBlockIndex in class ABlockMatrixpublic int getRowBlockIndex(int row)
getRowBlockIndex in class ABlockMatrixpublic int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic AMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixpublic int columnBlockCount()
columnBlockCount in class ABlockMatrixpublic int rowBlockCount()
rowBlockCount in class ABlockMatrixpublic void copyColumnTo(int col,
double[] dest,
int destOffset)
copyColumnTo in class AMatrixpublic void copyRowTo(int row,
double[] dest,
int destOffset)
Copyright © 2013. All Rights Reserved.