public interface SparseMatrix extends Matrix
Matrix implementations whose backing data
storage permits accessing rows and columns with SparseVector objects.Matrix,
SparseDoubleVectorMatrix.Type| Modifier and Type | Method and Description |
|---|---|
SparseDoubleVector |
getColumnVector(int column)
Returns the column as a sparse vector.
|
SparseDoubleVector |
getRowVector(int row)
Returns the row as a sparse vector.
|
SparseDoubleVector getColumnVector(int column)
getColumnVector in interface Matrixcolumn - The column to return a DoubleVector forDoubleVector representing the column at columnSparseDoubleVector getRowVector(int row)
getRowVector in interface Matrixrow - the index of row to returnSparseDoubleVector of the row's dataCopyright © 2012. All Rights Reserved.