| Modifier and Type | Method and Description |
|---|---|
void |
applyOp(IOp op)
Applies a unary operator to all elements of the array (in-place)
|
void |
applyOp(Op op)
Applies a unary operator to all elements of the array (in-place)
|
int |
columnCount()
Returns the number of columns in the matrix
|
double |
determinant()
Calculates the determinant of the matrix.
|
long |
elementCount()
Returns the total number of elements in this array.
|
double |
elementSum()
Returns the sum of all elements in the matrix
|
TransposedMatrix |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
AVector |
getColumn(int column)
Returns a column of the matrix as a vector view
|
AVector |
getLeadingDiagonal()
Returns a new vector that contains the leading diagonal values of the matrix
|
AVector |
getRow(int row)
Returns a row of the matrix as a vector view
|
AMatrix |
getTranspose()
Returns a transposed version of this matrix.
|
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
|
boolean |
isView()
Return true if this is a view
|
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(double value)
Sets all elements of an array to a specific double value
|
void |
set(int row,
int column,
double value)
Sets a specified element in the matrix
|
AVector |
slice(int rowNumber) |
int |
sliceCount()
returns the number of major slices in this array.
|
static AMatrix |
wrap(AMatrix m) |
abs, add, add, add, add, addAt, addMultiple, addRowMultiple, asElementList, asVector, broadcast, calculateElement, clamp, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, copyTo, dimensionality, elementIterator, elementMul, elementSquaredSum, epsilonEquals, epsilonEquals, epsilonEquals, equals, equals, equals, equals, exp, fill, get, get, get, getElements, getLongShape, getMatrixComponent, getShape, getShape, getSlices, getSliceViews, getTransposeView, hashCode, hasOrthonormalColumns, hassOrthonormalRows, innerProduct, innerProduct, innerProduct, innerProduct, innerProduct, inputDimensions, inverse, isDiagonal, isElementConstrained, isFullyMutable, isHermitian, isIdentity, isInvertible, isMutable, isOrthogonal, isPositiveDefinite, isRectangularDiagonal, isSquare, isZeroMatrix, iterator, log, mul, multiply, multiplyRow, negate, outerProduct, outputDimensions, pow, reciprocal, reshape, scale, scaleAdd, set, set, set, set, set, setColumn, setElements, setElements, setRow, signum, slice, sqrt, square, sub, sub, sub, sub, swapColumns, swapRows, toAffineTransform, toDoubleBuffer, toMatrix, toMutableMatrix, toString, toVector, trace, transform, transformInPlace, transformInPlace, transposeInPlace, validategetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformprotected final AMatrix source
public int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic AVector getRow(int row)
AMatrixpublic AVector slice(int rowNumber)
public int sliceCount()
INDArraysliceCount in interface INDArraysliceCount in class AMatrixpublic AVector getColumn(int column)
AMatrixpublic double determinant()
AMatrixdeterminant in class AMatrixpublic boolean isSymmetric()
AMatrixisSymmetric in class AMatrixpublic boolean isUpperTriangular()
AMatrixisUpperTriangular in class AMatrixpublic boolean isLowerTriangular()
AMatrixisLowerTriangular in class AMatrixpublic AMatrix getTranspose()
AMatrixgetTranspose in interface INDArraygetTranspose in class AMatrixpublic TransposedMatrix exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AMatrixpublic boolean isView()
INDArraypublic void applyOp(Op op)
INDArraypublic void applyOp(IOp op)
INDArraypublic void multiply(double factor)
INDArraypublic void set(double value)
INDArraypublic AVector getLeadingDiagonal()
AMatrixgetLeadingDiagonal in class AMatrixpublic long elementCount()
INDArrayelementCount in interface INDArrayelementCount in class AMatrixpublic double elementSum()
AMatrixelementSum in interface INDArrayelementSum in class AMatrixpublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraynonZeroCount in class AMatrixCopyright © 2013. All Rights Reserved.