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 |
scale(double factor)
Scales a matrix by a constant scalar factor.
|
void |
transformInPlace(AVector v)
Transforms a vector destructively.
|
calculateElement, columnCount, determinant, dimensions, getDiagonalValue, isFullyMutable, isIdentity, isSquare, rowCount, set, transposeInPlaceadd, addMultiple, asVector, clone, cloneRow, compose, compose, composeWith, composeWith, copyOfMatrix, copyOfTranslationVector, dimensionality, elementSum, entrywiseMul, epsilonEquals, equals, equals, equals, get, getColumn, getLeadingDiagonal, getMatrixComponent, getRow, getTranspose, hashCode, inputDimensions, inverse, isInvertible, isZeroMatrix, iterator, mul, outputDimensions, reshape, set, sub, 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 scale(double factor)
AMatrixpublic void transformInPlace(AVector v)
ATransformtransformInPlace in class ADiagonalMatrixCopyright © 2013. All Rights Reserved.