| Modifier and Type | Method and Description |
|---|---|
void |
addAt(int i,
int j,
double value) |
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) |
double |
determinant()
Calculates the determinant of the matrix.
|
long |
elementCount()
Returns the total number of elements in this array.
|
double |
elementSquaredSum()
Returns the squared sum of all elements in the matrix
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
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
|
void |
getElements(double[] data,
int offset)
Gets all elements of the array, copying them into a double array
|
boolean |
isDiagonal()
Returns true iff a matrix is a square diagonal matrix
|
boolean |
isIdentity()
Returns true if this transform is known to be the identity function, i.e.
|
boolean |
isSquare()
Returns true if the transform is square (same number of input and output dimensions)
|
boolean |
isZero()
Returns true if the matrix is the zero matrix (all components zero)
|
void |
multiply(double factor)
Multiplies all elements of the array by a given double value
|
long |
nonZeroCount()
Returns the number of non-zero elements in the array.
|
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() |
double |
unsafeGet(int row,
int column)
Gets an element in the matrix in an unsafe fashion, without performing bound checks
The result is undefined if the row and column are out of bounds.
|
void |
unsafeSet(int row,
int column,
double value)
Sets an element value in the matrix in an unsafe fashion, without performing bound checks
The result is undefined if the row and column are out of bounds.
|
abs, add, add, add, add, add, 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, dimensionality, divide, divide, elementDiv, elementIterator, elementMul, ensureMutable, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exp, fill, get, get, get, getBand, getBandWrapped, getColumn, 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, isElementConstrained, isFullyMutable, isHermitian, isInvertible, isLowerTriangular, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSameShape, isSameShape, isSymmetric, isUpperTriangular, isView, iterator, join, log, lowerBandwidth, lowerBandwidthLimit, mul, multiply, multiplyRow, mutable, negate, 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, transform, transform, transform, transform, transformInPlace, transformInPlace, transposeInnerProduct, transposeInnerProduct, transposeInPlace, upperBandwidth, upperBandwidthLimit, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double determinant()
AMatrixdeterminant in class AMatrixpublic double elementSum()
AMatrixelementSum in interface INDArrayelementSum in class AMatrixpublic double elementSquaredSum()
AMatrixelementSquaredSum in interface INDArrayelementSquaredSum in class AMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class AMatrixpublic long elementCount()
INDArrayelementCount in interface INDArrayelementCount in class AMatrixpublic boolean isSquare()
ATransformpublic boolean isDiagonal()
AMatrixisDiagonal in class AMatrixpublic boolean isZero()
AMatrixpublic boolean isIdentity()
ATransformisIdentity in class AMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic void multiply(double factor)
INDArraypublic double unsafeGet(int row,
int column)
AMatrixpublic void unsafeSet(int row,
int column,
double value)
AMatrixpublic void getElements(double[] data,
int offset)
INDArraygetElements in interface INDArraygetElements in class AMatrixpublic void copyRowTo(int row,
double[] dest,
int destOffset)
public void copyColumnTo(int col,
double[] dest,
int destOffset)
copyColumnTo in class AMatrixpublic AMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixCopyright © 2013. All Rights Reserved.