@Data public class ColtSparseMatrix extends java.lang.Object implements SparseMatrix
Constructor and Description |
---|
ColtSparseMatrix(cern.colt.matrix.tdouble.DoubleMatrix2D implementation) |
Modifier and Type | Method and Description |
---|---|
CholeskyDecomposition |
cholesky()
Default behavior for views: convert to concrete implementation
and then compute the Cholesky
|
ColtSparseMatrix |
createEmpty(int nRows,
int nCols) |
void |
editNonZerosInPlace(MatrixVisitorEditInPlace visitor) |
boolean |
equals(java.lang.Object obj) |
double |
get(int row,
int col) |
cern.colt.matrix.tdouble.DoubleMatrix2D |
getImplementation() |
int |
hashCode() |
LUDecomposition |
lu()
Default behavior for views: convert to concrete implementation
and then compute the LU
|
ColtSparseMatrix |
mul(SparseMatrix another) |
int |
nCols() |
int |
nRows() |
void |
set(int row,
int col,
double v) |
SparseMatrix |
slice(int row0Incl,
int row1Excl,
int col0Incl,
int col1Excl,
boolean readOnly) |
java.lang.String |
toString() |
void |
visitNonZeros(MatrixVisitorViewOnly visitor)
Efficient traversal of non zero entries.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addInPlace, addInPlace, col, div, inverse, mul, mul, mulInPlace, nonZeroEntries, operator_divide, operator_minus, operator_minus, operator_minus, operator_multiply, operator_multiply, operator_multiply, operator_multiply, operator_plus, operator_plus, operator_plus, readOnlyView, row, slice, sub, sub, subInPlace, subInPlace, transpose
add, addInPlace, divInPlace, get, isVector, mul, nEntries, operator_add, operator_add, operator_add, operator_divideAssign, operator_multiplyAssign, operator_remove, operator_remove, operator_remove, set, sub, subInPlace
public ColtSparseMatrix(cern.colt.matrix.tdouble.DoubleMatrix2D implementation)
public void visitNonZeros(MatrixVisitorViewOnly visitor)
SparseMatrix
visitNonZeros
in interface SparseMatrix
public void editNonZerosInPlace(MatrixVisitorEditInPlace visitor)
editNonZerosInPlace
in interface SparseMatrix
public ColtSparseMatrix createEmpty(int nRows, int nCols)
createEmpty
in interface Matrix
createEmpty
in interface SparseMatrix
public SparseMatrix slice(int row0Incl, int row1Excl, int col0Incl, int col1Excl, boolean readOnly)
slice
in interface Matrix
slice
in interface SparseMatrix
public ColtSparseMatrix mul(SparseMatrix another)
mul
in interface Matrix
mul
in interface SparseMatrix
public CholeskyDecomposition cholesky()
SparseMatrix
cholesky
in interface Matrix
cholesky
in interface SparseMatrix
public LUDecomposition lu()
SparseMatrix
lu
in interface Matrix
lu
in interface SparseMatrix
public java.lang.String toString()
toString
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object
@Pure public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public cern.colt.matrix.tdouble.DoubleMatrix2D getImplementation()