|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
R
- the row type.C
- the column type.public interface SparseDoubleMatrix<R,C>
This interface is used to represent sparse matrices whose elements are strictly double precision numbers.
Method Summary | |
---|---|
java.util.Set<C> |
getColIndNzEl(java.lang.Object rowIndex)
Returns the set of column indices whose elements are nonzero in the row corresponding to the provided index. |
SparseDoubleMatrix<R,C> |
getColumn(java.lang.Object columnIndex)
Returns the column corresponding to the provided column index. |
SparseDoubleMatrix<R,C> |
getRow(java.lang.Object rowIndex)
Returns the row corresponding to the provided row index. |
java.util.Set<R> |
getRowIndNzEl(java.lang.Object columnIndex)
Returns the set of row indices whose elements are nonzero in the column corresponding to the provided index. |
Methods inherited from interface sbrt.kernel.math.algebra.DoubleMatrix |
---|
getElement, toLinearCombs |
Methods inherited from interface sbrt.kernel.math.algebra.Matrix |
---|
columns, equals, getColumnIndices, getRowIndices, hashCode, isColumnIndex, isEmpty, isRowIndex, rows, toString |
Method Detail |
---|
java.util.Set<R> getRowIndNzEl(java.lang.Object columnIndex)
columnIndex
- the column index.
java.util.Set<C> getColIndNzEl(java.lang.Object rowIndex)
rowIndex
- the row index.
SparseDoubleMatrix<R,C> getRow(java.lang.Object rowIndex)
getRow
in interface DoubleMatrix<R,C>
getRow
in interface Matrix<R,C,java.lang.Double>
rowIndex
- the index of the row to be returned.
SparseDoubleMatrix<R,C> getColumn(java.lang.Object columnIndex)
getColumn
in interface DoubleMatrix<R,C>
getColumn
in interface Matrix<R,C,java.lang.Double>
columnIndex
- the index of the column to be returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |