dimensions| Modifier and Type | Method and Description |
|---|---|
double |
calculateElement(int i,
AVector v)
Calculates a single element of the output.
|
AMatrix |
compose(AMatrix a) |
static IdentityMatrix |
create(int i) |
double |
determinant()
Calculates the determinant of the matrix.
|
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 |
isIdentity()
Returns true if this transform is the identity function, i.e.
|
void |
set(int row,
int column,
double value)
Sets a specified element in the matrix
|
AVector |
transform(AVector source)
Transforms a vector, returning a new transformed vector
|
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
columnCount, dimensions, getDiagonalValue, isFullyMutable, isSquare, rowCount, transformInPlace, transposeInPlaceadd, addMultiple, asVector, clone, cloneRow, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, dimensionality, elementSum, entrywiseMul, epsilonEquals, equals, equals, equals, get, getColumn, getMatrixComponent, getRow, hashCode, inputDimensions, isInvertible, isZeroMatrix, iterator, mul, outputDimensions, reshape, scale, set, sub, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVectorgetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponentspublic static IdentityMatrix create(int i)
public double calculateElement(int i,
AVector v)
ATransformcalculateElement in class ADiagonalMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixset in interface IMatrixset in class ADiagonalMatrixpublic void transform(AVector source, AVector dest)
ATransformpublic AVector transform(AVector source)
ATransformtransform in class ATransformpublic AVector getLeadingDiagonal()
AMatrixgetLeadingDiagonal in class AMatrixpublic boolean isIdentity()
ATransformisIdentity in class ADiagonalMatrixpublic AMatrix inverse()
ATransformpublic double determinant()
AMatrixdeterminant in class ADiagonalMatrixpublic AMatrix getTranspose()
AMatrixgetTranspose in class AMatrixCopyright © 2013. All Rights Reserved.