| Modifier and Type | Field and Description |
|---|---|
double[] |
data |
| Constructor and Description |
|---|
MatrixMN(AMatrix m) |
MatrixMN(int rowCount,
int columnCount) |
| Modifier and Type | Method and Description |
|---|---|
Vector |
asVector()
Returns the matrix values as a single reference Vector in the form [row0
row1 row2....]
|
int |
columnCount() |
double |
get(int row,
int column) |
ArraySubVector |
getRow(int row)
Returns a row of the matrix as a vector reference
|
int |
rowCount() |
void |
set(AMatrix a) |
void |
set(int row,
int column,
double value) |
void |
swapRows(int i,
int j) |
void |
transform(AVector source,
AVector dest)
Transforms the source vector, storing the result in the given destination vector
|
static MatrixMN |
wrap(int rowCount,
int columnCount,
double[] data) |
add, addMultiple, clone, cloneRow, determinant, epsilonEquals, equals, equals, equals, getColumn, getMatrixComponent, getTranslationComponent, hashCode, inputDimensions, inverse, isFullyMutable, isSquare, outputDimensions, swapColumns, toAffineTransform, toMutableMatrix, toString, toVector, transformInPlace, transpose, transposeInPlaceisLinearcompose, composeWith, isIdentity, transformpublic MatrixMN(int rowCount,
int columnCount)
public MatrixMN(AMatrix m)
public static MatrixMN wrap(int rowCount, int columnCount, double[] data)
public void transform(AVector source, AVector dest)
ATransformpublic ArraySubVector getRow(int row)
AMatrixpublic int columnCount()
columnCount in class AMatrixpublic Vector asVector()
AMatrixCopyright © 2012. All Rights Reserved.