| Modifier and Type | Method and Description |
|---|---|
double |
calculateElement(int i,
AVector v)
Calculates a single element of the output.
|
AMatrix |
clone()
Clones the transform, performing a deep copy where needed
|
int |
columnCount()
Returns the number of columns in the matrix
|
AMatrix |
compose(AMatrix m) |
AMatrix |
compose(ATransform t)
Composes this transformation with another transformation, returning
a new combined transformation
|
void |
composeWith(AMatrix t) |
void |
composeWith(ATransform t)
Composes this transformation with a given transformation,
mutating the transformation to represent the combined transform
|
static ZeroMatrix |
create(int rows,
int columns) |
double |
determinant()
Calculates the determinant of the matrix.
|
void |
entrywiseMul(AMatrix m)
Multiplies this matrix in-place by another in an entrywise manner (Hadamard product).
|
boolean |
equals(AMatrix m) |
double |
get(int row,
int column)
Returns a specified element in the matrix
|
ZeroMatrix |
getTranspose()
Returns a transposed version of this matrix.
|
int |
hashCode() |
int |
inputDimensions()
Returns the number of dimensions required for input vectors
|
boolean |
isFullyMutable() |
boolean |
isInvertible()
Returns true if this transform is invertible
|
boolean |
isZeroMatrix()
Returns true if the matrix is the zero matrix (all components zero)
|
int |
outputDimensions()
Returns the number of dimensions required for output vectors
|
int |
rowCount()
Returns the number of rows in the matrix
|
void |
scale(double factor)
Scales a matrix by a constant scalar factor.
|
void |
set(int row,
int column,
double value)
Sets a specified element in the matrix
|
void |
transform(AVector input,
AVector output)
Transforms the source vector, storing the result in the given destination vector
|
add, addMultiple, asVector, cloneRow, copyOfMatrix, copyOfTranslationVector, dimensionality, elementSum, epsilonEquals, equals, equals, get, getColumn, getLeadingDiagonal, getMatrixComponent, getRow, inverse, isIdentity, isSquare, iterator, mul, reshape, set, sub, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, transformInPlace, transposeInPlacegetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic boolean isFullyMutable()
isFullyMutable in class AMatrixpublic int inputDimensions()
ATransforminputDimensions in class AMatrixpublic void scale(double factor)
AMatrixpublic int outputDimensions()
ATransformoutputDimensions in class AMatrixpublic int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double determinant()
AMatrixdeterminant in class AMatrixpublic double calculateElement(int i,
AVector v)
ATransformcalculateElement in class AMatrixpublic double get(int row,
int column)
AMatrixpublic void set(int row,
int column,
double value)
AMatrixpublic AMatrix clone()
ATransformpublic boolean isZeroMatrix()
AMatrixisZeroMatrix in class AMatrixpublic void transform(AVector input, AVector output)
ATransformpublic boolean isInvertible()
ATransformisInvertible in class AMatrixpublic AMatrix compose(ATransform t)
ATransformpublic void composeWith(ATransform t)
ATransformcomposeWith in class AMatrixpublic void composeWith(AMatrix t)
composeWith in class AMatrixpublic void entrywiseMul(AMatrix m)
AMatrixentrywiseMul in class AMatrixpublic ZeroMatrix getTranspose()
AMatrixgetTranspose in class AMatrixpublic static ZeroMatrix create(int rows, int columns)
Copyright © 2013. All Rights Reserved.