Package | Description |
---|---|
gov.sandia.cognition.math.matrix.custom |
Provides a custom linear algebra package implementation for both dense
and sparse classes.
|
Modifier and Type | Class and Description |
---|---|
class |
ParallelSparseMatrix
A sparse matrix implementation.
|
Modifier and Type | Method and Description |
---|---|
SparseMatrix |
CustomSparseMatrixFactory.copyMatrix(Matrix m)
Creates a deep copy new Matrix given another, argument is unchanged
|
SparseMatrix |
CustomSparseMatrixFactory.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(SparseMatrix other)
Type-specific version of dotTimesEquals for combining whatever type this
is with the input sparse matrix.
|
void |
DiagonalMatrix.dotTimesEquals(SparseMatrix other) |
void |
SparseMatrix.dotTimesEquals(SparseMatrix other)
Type-specific version of dotTimesEquals for combining whatever type this
is with the input sparse matrix.
|
void |
DenseMatrix.minusEquals(SparseMatrix other) |
void |
DiagonalMatrix.minusEquals(SparseMatrix other)
Type-specific version of minusEquals for combining whatever type this is
with the input sparse matrix.
|
void |
SparseMatrix.minusEquals(SparseMatrix other)
Type-specific version of minusEquals for combining whatever type this is
with the input sparse matrix.
|
void |
DenseMatrix.plusEquals(SparseMatrix other) |
void |
DiagonalMatrix.plusEquals(SparseMatrix other)
Type-specific version of plusEquals for combining whatever type this is
with the input sparse matrix.
|
void |
SparseMatrix.plusEquals(SparseMatrix other)
Type-specific version of plusEquals for combining whatever type this is
with the input sparse matrix.
|
void |
DenseMatrix.scaledPlusEquals(SparseMatrix other,
double scaleFactor) |
void |
DiagonalMatrix.scaledPlusEquals(SparseMatrix other,
double scaleFactor)
Type-specific version of scaledPlusEquals for combining whatever type
this is with the input sparse matrix.
|
void |
SparseMatrix.scaledPlusEquals(SparseMatrix other,
double scaleFactor)
Type-specific version of scaledPlusEquals for combining whatever type
this is with the input sparse matrix.
|
Matrix |
DenseMatrix.times(SparseMatrix other) |
Matrix |
DiagonalMatrix.times(SparseMatrix other) |
Matrix |
SparseMatrix.times(SparseMatrix other)
Type-specific version of times for combining whatever type this is with
the input sparse matrix.
|
Constructor and Description |
---|
ParallelSparseMatrix(SparseMatrix m,
int numThreads)
Creates a new sparse matrix with the same dimensions and data as m
(performs a deep copy).
|
SparseMatrix(SparseMatrix m)
Creates a new sparse matrix with the same dimensions and data as m
(performs a deep copy).
|