Package | Description |
---|---|
gov.sandia.cognition.math.matrix.custom |
Provides a custom linear algebra package implementation for both dense
and sparse classes.
|
Modifier and Type | Method and Description |
---|---|
DenseMatrix |
CustomDenseMatrixFactory.copyMatrix(Matrix m)
Creates a deep copy of m into a DenseMatrix and returns it.
|
DenseMatrix |
CustomDenseMatrixFactory.createMatrix(int numRows,
int numColumns)
Creates a new all-zero DenseMatrix of the specified dimensions.
|
Modifier and Type | Method and Description |
---|---|
void |
DenseMatrix.dotTimesEquals(DenseMatrix other) |
void |
DiagonalMatrix.dotTimesEquals(DenseMatrix other) |
void |
SparseMatrix.dotTimesEquals(DenseMatrix other)
Type-specific version of dotTimesEquals for combining whatever type this
is with the input dense matrix.
|
void |
DenseMatrix.minusEquals(DenseMatrix other) |
void |
DiagonalMatrix.minusEquals(DenseMatrix other)
Type-specific version of minusEquals for combining whatever type this is
with the input dense matrix.
|
void |
SparseMatrix.minusEquals(DenseMatrix other)
Type-specific version of minusEquals for combining whatever type this is
with the input dense matrix.
|
void |
DenseMatrix.plusEquals(DenseMatrix other) |
void |
DiagonalMatrix.plusEquals(DenseMatrix other)
Type-specific version of plusEquals for combining whatever type this is
with the input dense matrix.
|
void |
SparseMatrix.plusEquals(DenseMatrix other)
Type-specific version of plusEquals for combining whatever type this is
with the input dense matrix.
|
void |
DenseMatrix.scaledPlusEquals(DenseMatrix other,
double scaleFactor) |
void |
DiagonalMatrix.scaledPlusEquals(DenseMatrix other,
double scaleFactor)
Type-specific version of scaledPlusEquals for combining whatever type
this is with the input dense matrix.
|
void |
SparseMatrix.scaledPlusEquals(DenseMatrix other,
double scaleFactor)
Type-specific version of scaledPlusEquals for combining whatever type
this is with the input dense matrix.
|
Matrix |
DenseMatrix.times(DenseMatrix other) |
Matrix |
DiagonalMatrix.times(DenseMatrix other) |
Matrix |
SparseMatrix.times(DenseMatrix other)
Type-specific version of times for combining whatever type this is with
the input dense matrix.
|
Constructor and Description |
---|
DenseMatrix(DenseMatrix m)
Copy constructor that creates a deep copy of the input matrix.
|
ParallelSparseMatrix(DenseMatrix d,
int numThreads)
Creates a new sparse matrix with the same dimensions and data as d
(performs a deep copy).
|
SparseMatrix(DenseMatrix d)
Creates a new sparse matrix with the same dimensions and data as d
(performs a deep copy).
|