Package | Description |
---|---|
gov.sandia.cognition.math.matrix.mtj |
Provides a linear algebra package implementation wrapper using the Matrix
Toolkits for Java (MTJ) library.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSparseMatrix
Implements some generic operations that any sparse-matrix representation
must do.
|
class |
DenseMatrix
Matrix that represents all its entries using a fixed-size storage scheme,
based on MTJ's DenseMatrix storage class.
|
class |
DiagonalMatrixMTJ
A diagonal matrix that wraps MTJ's BandMatrix class.
|
class |
SparseColumnMatrix
A sparse matrix, represented as a collection of sparse column vectors.
|
class |
SparseMatrix
A sparse matrix, represented as a collection of sparse row vectors.
|
class |
SparseRowMatrix
A sparse matrix, represented as a collection of sparse row vectors.
|
Modifier and Type | Method and Description |
---|---|
AbstractMTJMatrix |
AbstractMTJMatrix.clone() |
AbstractMTJMatrix |
TwoMatrixEntryMTJ.getFirstMatrix()
Getter for firstMatrix.
|
AbstractMTJMatrix |
TwoMatrixEntryMTJ.getSecondMatrix()
Getter for secondMatrix.
|
abstract AbstractMTJMatrix |
AbstractMTJVector.outerProduct(AbstractMTJVector other)
Computes the outer matrix product between the two vectors
|
abstract AbstractMTJMatrix |
AbstractMTJMatrix.times(AbstractMTJMatrix matrix)
Matrix multiplication of
this and matrix ,
operates like the "* " operator in Matlab |
AbstractMTJMatrix |
DiagonalMatrixMTJ.times(AbstractMTJMatrix matrix) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMTJMatrix.dotTimesEquals(AbstractMTJMatrix matrix)
Inline element-wise multiplication of the elements in
this
and matrix , modifies the elements of this |
void |
DiagonalMatrixMTJ.dotTimesEquals(AbstractMTJMatrix matrix) |
boolean |
AbstractMTJMatrix.equals(AbstractMTJMatrix matrix,
double effectiveZero)
Determines if the matrices are effectively equal to each other
|
protected void |
AbstractMTJMatrix.getSubMatrixInto(int minRow,
int maxRow,
int minColumn,
int maxColumn,
AbstractMTJMatrix destinationMatrix)
Internal routine for storing a submatrix into and AbstractMTJMatrix.
|
void |
AbstractMTJMatrix.minusEquals(AbstractMTJMatrix matrix)
Subtracts the elements of
matrix from the elements of
this , modifies the elements of this |
void |
AbstractMTJMatrix.plusEquals(AbstractMTJMatrix matrix)
Inline addition of
this and matrix , modifies
the elements of this |
void |
AbstractMTJMatrix.scaledMinusEquals(double scaleFactor,
AbstractMTJMatrix other)
Subtracts from this matrix the scaled version of the other given matrix.
|
void |
AbstractMTJMatrix.scaledPlusEquals(double scaleFactor,
AbstractMTJMatrix other)
Adds to this vector the scaled version of the other given vector.
|
void |
TwoMatrixEntryMTJ.setFirstMatrix(AbstractMTJMatrix firstMatrix)
Setter for firstMatrix.
|
void |
TwoMatrixEntryMTJ.setSecondMatrix(AbstractMTJMatrix secondMatrix)
Setter for secondMatrix.
|
Matrix |
AbstractMTJMatrix.solve(AbstractMTJMatrix B)
Solves for "X" in the equation this * X = B, where X is a DenseMatrix,
"this" and "B" will be converted to a DenseMatrix (if not already)
|
abstract AbstractMTJMatrix |
AbstractMTJMatrix.times(AbstractMTJMatrix matrix)
Matrix multiplication of
this and matrix ,
operates like the "* " operator in Matlab |
Vector |
AbstractMTJVector.times(AbstractMTJMatrix matrix)
Premultiplies the matrix by the vector "this"
|
DenseMatrix |
DenseMatrix.times(AbstractMTJMatrix matrix) |
AbstractMTJMatrix |
DiagonalMatrixMTJ.times(AbstractMTJMatrix matrix) |
SparseColumnMatrix |
SparseColumnMatrix.times(AbstractMTJMatrix matrix) |
SparseRowMatrix |
SparseRowMatrix.times(AbstractMTJMatrix matrix) |
protected void |
AbstractMTJMatrix.timesInto(AbstractMTJMatrix multiplicationMatrix,
AbstractMTJMatrix destinationMatrix)
Internal function call that stores the result of a matrix multiply
into the given destinationMatrix.
|
protected void |
AbstractMTJMatrix.transposeInto(AbstractMTJMatrix destinationMatrix)
Internal method for accessing MTJ's general transpose routine
|
Constructor and Description |
---|
MatrixUnionIteratorMTJ(AbstractMTJMatrix firstMatrix,
AbstractMTJMatrix secondMatrix)
Creates a new instance of AbstractMTJMatrixIntersectionIterator,
iterating at rowIndex = 0, columnIndex = 0
|
TwoMatrixEntryMTJ(AbstractMTJMatrix firstMatrix,
AbstractMTJMatrix secondMatrix)
Creates a new TwoMatrixEntryMTJ.
|
TwoMatrixEntryMTJ(AbstractMTJMatrix firstMatrix,
AbstractMTJMatrix secondMatrix,
int rowIndex,
int columnIndex)
Creates a new instance of TwoMatrixEntryMTJ.
|