| Modifier and Type | Method and Description |
|---|---|
int |
columnCount()
Returns the number of columns in the matrix
|
static IdentityMatrix |
create(int i) |
double |
get(int row,
int column)
Returns a specified element in the matrix
|
AVector |
getLeadingDiagonal()
Returns a new vector that contains the leading diagonal values of the matrix
|
AMatrix |
getTranspose()
Returns a transposed version of this matrix.
|
AMatrix |
inverse()
Return the inverse of this transformation if possible
|
boolean |
isFullyMutable() |
boolean |
isIdentity()
Returns true if this transform is the identity function, i.e.
|
boolean |
isSquare() |
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
|
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
void |
transposeInPlace() |
add, addMultiple, asVector, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, determinant, entrywiseMul, epsilonEquals, equals, equals, equals, getColumn, getMatrixComponent, getRow, getTranslationComponent, hashCode, inputDimensions, isZeroMatrix, mul, outputDimensions, set, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, transformInPlacecomposeisLineartransformpublic static IdentityMatrix create(int i)
public 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 void transform(AVector source, AVector dest)
ATransformpublic boolean isFullyMutable()
isFullyMutable in class AMatrixpublic AVector getLeadingDiagonal()
AMatrixgetLeadingDiagonal in class AMatrixpublic boolean isIdentity()
ATransformisIdentity in class AMatrixpublic AMatrix inverse()
ATransformpublic AMatrix getTranspose()
AMatrixgetTranspose in class AMatrixpublic void transposeInPlace()
transposeInPlace in class AMatrixCopyright © 2012. All Rights Reserved.