public final class VectorMatrixM3 extends AVectorMatrix implements ISpecialisedTransform
| Constructor and Description |
|---|
VectorMatrixM3(int rowCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendRow(AVector row) |
void |
appendRow(Vector3 row) |
VectorMatrixM3 |
clone()
Clones the transform, performing a deep copy where needed
|
int |
columnCount()
Returns the number of columns in the matrix
|
double |
get(int row,
int column)
Returns a specified element in the matrix
|
Vector3 |
getRow(int row)
Gets a row of the matrix.
|
boolean |
isSquare()
Returns true if the transform is square (same number of input and output dimensions)
|
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 source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
void |
transform(Vector3 source,
AVector dest) |
elementSumadd, addMultiple, asVector, calculateElement, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, determinant, dimensionality, entrywiseMul, epsilonEquals, equals, equals, equals, get, getColumn, getLeadingDiagonal, getMatrixComponent, getTranspose, hashCode, inputDimensions, inverse, isFullyMutable, isIdentity, isInvertible, isZeroMatrix, iterator, mul, outputDimensions, reshape, set, sub, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, transformInPlace, transposeInPlacegetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic void scale(double factor)
AMatrixpublic void appendRow(AVector row)
appendRow in class AVectorMatrixpublic void appendRow(Vector3 row)
public int rowCount()
AMatrixpublic int columnCount()
AMatrixcolumnCount in interface IMatrixcolumnCount in class AMatrixpublic double get(int row,
int column)
AMatrixget in interface IMatrixget in class AVectorMatrixpublic void set(int row,
int column,
double value)
AMatrixset in interface IMatrixset in class AVectorMatrixpublic Vector3 getRow(int row)
AVectorMatrixgetRow in class AVectorMatrixpublic void transform(AVector source, AVector dest)
ATransformtransform in class AVectorMatrixpublic boolean isSquare()
ATransformpublic VectorMatrixM3 clone()
ATransformclone in class AVectorMatrixCopyright © 2013. All Rights Reserved.