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 |
---|---|
DiagonalMatrix |
CustomDiagonalMatrixFactory.copyMatrix(Matrix m)
Creates a deep copy new Matrix given another, argument is unchanged
|
DiagonalMatrix |
CustomDiagonalMatrixFactory.createMatrix(int numRows,
int numColumns)
Creates an empty Matrix of the specified dimensions, all elements
must be all zeros!
|
Modifier and Type | Method and Description |
---|---|
void |
DenseMatrix.dotTimesEquals(DiagonalMatrix other)
Type-specific version of dotTimesEquals for combining whatever type this
is with the input diagonal matrix.
|
void |
DiagonalMatrix.dotTimesEquals(DiagonalMatrix other) |
void |
SparseMatrix.dotTimesEquals(DiagonalMatrix other)
Type-specific version of dotTimesEquals for combining whatever type this
is with the input diagonal matrix.
|
void |
DenseMatrix.minusEquals(DiagonalMatrix other) |
void |
DiagonalMatrix.minusEquals(DiagonalMatrix other) |
void |
SparseMatrix.minusEquals(DiagonalMatrix other)
Type-specific version of minusEquals for combining whatever type this is
with the input diagonal matrix.
|
void |
DenseMatrix.plusEquals(DiagonalMatrix other) |
void |
DiagonalMatrix.plusEquals(DiagonalMatrix other) |
void |
SparseMatrix.plusEquals(DiagonalMatrix other)
Type-specific version of plusEquals for combining whatever type this is
with the input diagonal matrix.
|
Matrix |
SparseMatrix.preTimes(DiagonalMatrix other)
Package-private helper for the diagonal matrix class.
|
void |
DenseMatrix.scaledPlusEquals(DiagonalMatrix other,
double scaleFactor) |
void |
DiagonalMatrix.scaledPlusEquals(DiagonalMatrix other,
double scaleFactor) |
void |
SparseMatrix.scaledPlusEquals(DiagonalMatrix other,
double scaleFactor)
Type-specific version of scaledPlusEquals for combining whatever type
this is with the input diagonal matrix.
|
Matrix |
DenseMatrix.times(DiagonalMatrix other) |
Matrix |
DiagonalMatrix.times(DiagonalMatrix other) |
Matrix |
SparseMatrix.times(DiagonalMatrix other)
Type-specific version of times for combining whatever type this is with
the input diagonal matrix.
|
Constructor and Description |
---|
DiagonalMatrix(DiagonalMatrix d)
Copy constructor.
|
ParallelSparseMatrix(DiagonalMatrix d,
int numThreads)
Creates a new sparse matrix with the same dimensions and data as d
(performs a deep copy).
|
SparseMatrix(DiagonalMatrix d)
Creates a new sparse matrix with the same dimensions and data as d
(performs a deep copy).
|