public abstract class ABandedMatrix extends AMatrix
| Constructor and Description |
|---|
ABandedMatrix() |
| Modifier and Type | Method and Description |
|---|---|
double |
elementSquaredSum()
Returns the squared sum of all elements in the matrix
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
void |
fill(double value)
Fills the array with asingle double value
|
abstract AVector |
getBand(int band)
Gets a specific band of the matrix, as a view vector.
|
AVector |
getRow(int row)
Returns a row of the matrix as a vector view
|
boolean |
isFullyMutable()
Returns true if the INDArray is fully mutable in all positions
i.e.
|
boolean |
isLowerTriangular()
Returns true if a matrix is lower triangular
|
boolean |
isSymmetric()
Returns true if a matrix is symmetric
|
boolean |
isUpperTriangular()
Returns true if a matrix is upper triangular
|
int |
lowerBandwidth()
Computes the lower bandwidth of a matrix
|
abstract int |
lowerBandwidthLimit()
A limit on the lower bandwidth of the banded matrix.
|
long |
nonZeroCount()
Returns the number of non-zero elements in the array.
|
Matrix |
toMatrix()
Coerces the matrix to the standard mutable Matrix type
in row major order.
|
Matrix |
toMatrixTranspose()
Coerces the transpose of a matrix to the standard mutable Matrix type
in row major order.
|
int |
upperBandwidth()
Computes the upper bandwidth of a matrix
|
abstract int |
upperBandwidthLimit()
A limit on the upper bandwidth of the banded matrix.
|
void |
validate()
Validates the internal data structure of the INDArray.
|
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, columnCount, compose, compose, composeWith, composeWith, copyColumnTo, copyOfMatrix, copyOfTranslationVector, copyRowTo, copyTo, determinant, dimensionality, divide, divide, elementCount, elementDiv, elementIterator, elementMul, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exactClone, exp, get, get, get, get, getBandWrapped, getColumn, getElements, getLeadingDiagonal, getLongShape, getMatrixComponent, getShape, getShape, getSlices, getSliceViews, getTranspose, getTransposeCopy, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isBoolean, isDiagonal, isElementConstrained, isHermitian, isIdentity, isInvertible, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSquare, isView, isZero, iterator, log, mul, multiply, multiply, multiplyRow, negate, outerProduct, outputDimensions, pow, reciprocal, reshape, reshape, rowCount, scale, scaleAdd, set, set, set, set, set, set, set, setColumn, setElements, setElements, setRow, signum, slice, slice, sliceCount, sqrt, square, sub, sub, sub, sub, sub, subMatrix, swapColumns, swapRows, toAffineTransform, toArray, toDoubleArray, toDoubleBuffer, toMutableMatrix, toString, toVector, trace, transform, transform, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, unsafeGet, unsafeSetgetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic abstract int upperBandwidthLimit()
AMatrixupperBandwidthLimit in class AMatrixpublic abstract int lowerBandwidthLimit()
AMatrixlowerBandwidthLimit in class AMatrixpublic abstract AVector getBand(int band)
AMatrixpublic int upperBandwidth()
AMatrixupperBandwidth in class AMatrixpublic int lowerBandwidth()
AMatrixlowerBandwidth in class AMatrixpublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AMatrixpublic boolean isSymmetric()
AMatrixisSymmetric in class AMatrixpublic boolean isUpperTriangular()
AMatrixisUpperTriangular in class AMatrixpublic boolean isLowerTriangular()
AMatrixisLowerTriangular in class AMatrixpublic AVector getRow(int row)
AMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class AMatrixpublic double elementSum()
AMatrixelementSum in interface INDArrayelementSum in class AMatrixpublic double elementSquaredSum()
AMatrixelementSquaredSum in interface INDArrayelementSquaredSum in class AMatrixpublic void fill(double value)
INDArraypublic Matrix toMatrix()
AMatrixpublic Matrix toMatrixTranspose()
AMatrixtoMatrixTranspose in class AMatrixpublic void validate()
INDArrayCopyright © 2013. All Rights Reserved.