@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, waitadd, 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, transposeadd, addInPlace, divInPlace, get, isVector, mul, nEntries, operator_add, operator_add, operator_add, operator_divideAssign, operator_multiplyAssign, operator_remove, operator_remove, operator_remove, set, sub, subInPlacepublic ColtSparseMatrix(cern.colt.matrix.tdouble.DoubleMatrix2D implementation)
public void visitNonZeros(MatrixVisitorViewOnly visitor)
SparseMatrixvisitNonZeros in interface SparseMatrixpublic void editNonZerosInPlace(MatrixVisitorEditInPlace visitor)
editNonZerosInPlace in interface SparseMatrixpublic ColtSparseMatrix createEmpty(int nRows, int nCols)
createEmpty in interface MatrixcreateEmpty in interface SparseMatrixpublic SparseMatrix slice(int row0Incl, int row1Excl, int col0Incl, int col1Excl, boolean readOnly)
slice in interface Matrixslice in interface SparseMatrixpublic ColtSparseMatrix mul(SparseMatrix another)
mul in interface Matrixmul in interface SparseMatrixpublic CholeskyDecomposition cholesky()
SparseMatrixcholesky in interface Matrixcholesky in interface SparseMatrixpublic LUDecomposition lu()
SparseMatrixlu in interface Matrixlu in interface SparseMatrixpublic 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()