public class ScalarMatrix extends ADiagonalMatrix
dimensions| Constructor and Description |
|---|
ScalarMatrix(int dimensions,
double scale) |
| Modifier and Type | Method and Description |
|---|---|
static AMatrix |
create(int dimensions,
double scale) |
double |
get(int row,
int column)
Returns a specified element in the matrix
|
void |
transformInPlace(AVector v)
Transforms a vector destructively.
|
calculateComponent, columnCount, determinant, dimensions, getDiagonalValue, isFullyMutable, isIdentity, isSquare, rowCount, set, transposeInPlaceadd, addMultiple, asVector, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, entrywiseMul, epsilonEquals, equals, equals, equals, getColumn, getLeadingDiagonal, getMatrixComponent, getRow, getTranspose, hashCode, inputDimensions, inverse, isInvertible, isZeroMatrix, iterator, mul, outputDimensions, set, swapColumns, swapRows, toAffineTransform, toMutableMatrix, toString, toVector, transformgetTranslationComponent, isLinearcompose, transformNormaltakeComponents, takeComponents, takeComponents, transformpublic double get(int row,
int column)
AMatrixpublic static AMatrix create(int dimensions, double scale)
public void transformInPlace(AVector v)
ATransformtransformInPlace in class ADiagonalMatrixCopyright © 2013. All Rights Reserved.