public abstract class ASingleBandMatrix extends ABandedMatrix implements ISparse
| Constructor and Description |
|---|
ASingleBandMatrix() |
| Modifier and Type | Method and Description |
|---|---|
double |
elementAbsPowSum(double p)
Returns the sum of the absolute values of all the elements raised to a specified power
|
double |
elementPowSum(double p)
Returns the sum of all the elements raised to a specified power
|
AVector |
getBand(int band)
Gets a specific band of the matrix, as a view vector.
|
abstract AVector |
getNonZeroBand()
Gets the non-zero band from the matrix
|
boolean |
hasUncountable()
Checks to see if any element in the matrix is NaN of Infinite.
|
boolean |
isIdentity()
Checks if this is an identity matrix (i.e.
|
boolean |
isSparse()
Returns true if the array is in a sparse format
|
boolean |
isSymmetric()
Returns true if a matrix is symmetric
|
boolean |
isZero()
Returns true if the matrix is the zero matrix (all components zero)
|
abstract int |
nonZeroBand()
Specifies which band of the matrix is nonzero
|
long |
nonZeroCount()
Returns the number of non-zero elements in the array.
|
int |
rank()
Calculate the rank of a matrix.
|
AMatrix |
subMatrix(int rowStart,
int rows,
int colStart,
int cols)
Gets a rectangular submatrix view of part of a matrix
|
addToArray, copyRowTo, density, diagonalProduct, elementSquaredSum, elementSum, fill, getRowView, isFullyMutable, isLowerTriangular, isMutable, isUpperTriangular, lowerBandwidth, lowerBandwidthLimit, multiply, toDoubleArray, toMatrix, toMatrixTranspose, trace, upperBandwidth, upperBandwidthLimit, validateabs, add, add, add, add, add2, addAt, addCopy, addCopy, addCopy, addCopy, addCopy, addInnerProduct, addInnerProduct, addInnerProduct, addMultiple, addMultiple, addMultiple, addOuterProduct, addOuterProduct, addRowMultiple, applyOp, applyOp, applyOp, applyOp, applyOp, applyOp, applyOpCopy, asDoubleArray, asElementList, asVector, bandIndex, bandLength, bandLength, bandPosition, bandStartColumn, bandStartRow, broadcast, broadcastCloneLike, broadcastCopyLike, broadcastLike, broadcastLike, checkColumn, checkColumnCount, checkDimension, checkIndex, checkRow, checkRowCount, checkSameShape, checkSameShape, checkShape, checkSquare, clamp, clone, composeWith, copy, copyColumnTo, dense, denseClone, determinant, dimensionality, divide, divide, divide, divide, elementCount, elementIterator, elementsEqual, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equalsArray, equalsByRows, equalsTranspose, exactClone, exp, get, get, get, get, getBandWrapped, getColumn, getColumnClone, getColumns, getColumnView, getElements, getLeadingDiagonal, getLongShape, getRow, getRowClone, getRows, getShape, getShape, getShapeClone, getSlices, getSlices, getSliceViews, getTranspose, getTransposeCopy, getTransposeView, hashCode, hasOrthonormalColumns, hasOrthonormalRows, immutable, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isBoolean, isDiagonal, isElementConstrained, isHermitian, isInvertible, isOrthogonal, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSquare, isView, iterator, join, log, mul, multiply, multiply, multiply, multiplyCopy, multiplyRow, mutable, negate, outerProduct, outputDimensions, pow, reciprocal, reduce, reduce, reduceSlices, reduceSlices, reorder, reorder, replaceColumn, replaceRow, reshape, reshape, rotateView, rowDotProduct, scaleAdd, scaleAdd, set, set, set, set, set, set, set, set, set, setColumn, setElements, setElements, setRow, signum, slice, slice, sliceCount, sparse, sparseClone, sqrt, square, sub, sub, sub, subArray, swapColumns, swapRows, toAffineTransform, toArray, toDoubleBuffer, toMutableMatrix, toNestedDoubleArrays, toSliceArray, toString, toStringFull, toVector, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, unsafeGet, unsafeSetabsCopy, add, addAt, addInnerProduct, addPower, addPower, broadcastLike, checkMutable, componentCount, divideCopy, elementMax, elementMin, elementProduct, equals, equalsArray, get, get, get, get, get, getComponent, getComponents, getElements, getElements, getElements, isDense, join, multiplyCopy, negateCopy, reciprocalCopy, scale, scaleCopy, setElements, setInnerProduct, setMultiple, setMultiple, signumCopy, sliceValue, squareCopy, sub, sub, subCopy, withComponentsfinalize, getClass, notify, notifyAll, wait, wait, waitcolumnCount, rowCountabsCopy, addAt, addPower, addPower, broadcastLike, checkMutable, componentCount, divideCopy, elementMax, elementMin, elementProduct, equalsArray, get, get, get, get, get, getComponent, getComponents, getElements, getElements, getElements, isDense, join, multiplyCopy, negateCopy, reciprocalCopy, scale, scaleCopy, setElements, setInnerProduct, setMultiple, setMultiple, signumCopy, sliceValue, squareCopy, sub, subCopy, withComponentsforEach, spliteratorpublic abstract int nonZeroBand()
public abstract AVector getNonZeroBand()
public boolean isSymmetric()
AMatrixisSymmetric in interface IMatrixisSymmetric in class ABandedMatrixpublic AMatrix subMatrix(int rowStart, int rows, int colStart, int cols)
IMatrixpublic boolean isIdentity()
IMatrixisIdentity in interface IMatrixisIdentity in class AMatrixpublic boolean isZero()
AMatrixisZero in interface INDArrayisZero in class ABandedMatrixpublic final boolean isSparse()
INDArrayisSparse in interface INDArrayisSparse in class ABandedMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class ABandedMatrixpublic AVector getBand(int band)
AMatrixgetBand in interface IMatrixgetBand in interface IFastBandsgetBand in class ABandedMatrixpublic boolean hasUncountable()
AMatrixhasUncountable in interface INDArrayhasUncountable in class AMatrixpublic int rank()
AMatrixpublic double elementPowSum(double p)
elementPowSum in interface INDArrayelementPowSum in class AbstractArray<AVector>public double elementAbsPowSum(double p)
elementAbsPowSum in interface INDArrayelementAbsPowSum in class AbstractArray<AVector>Copyright © 2016. All rights reserved.