public abstract class ADiagonalMatrix extends AMatrix
| Modifier and Type | Field and Description |
|---|---|
protected int |
dimensions |
| Constructor and Description |
|---|
ADiagonalMatrix(int dimensions) |
| Modifier and Type | Method and Description |
|---|---|
int |
columnCount()
Returns the number of columns in the matrix
|
double |
determinant()
Calculates the determinant of the matrix.
|
int |
dimensions()
Returns the number of dimensions of this diagonal matrix
|
double |
getDiagonalValue(int i) |
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 |
transposeInPlace() |
add, addMultiple, asVector, calculateComponent, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, entrywiseMul, epsilonEquals, equals, equals, equals, get, getColumn, getLeadingDiagonal, getMatrixComponent, getRow, getTranspose, hashCode, inputDimensions, inverse, isInvertible, isZeroMatrix, mul, outputDimensions, set, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, transform, transformInPlacegetTranslationComponent, isLinearcomposetakeComponents, takeComponents, takeComponents, transformpublic boolean isFullyMutable()
isFullyMutable in class AMatrixpublic double determinant()
AMatrixdeterminant in class AMatrixpublic int dimensions()
public int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic boolean isIdentity()
ATransformisIdentity in class AMatrixpublic void transposeInPlace()
transposeInPlace in class AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic double getDiagonalValue(int i)
Copyright © 2012. All Rights Reserved.