#include <sparse-row.h>
Inheritance diagram for SparseRowReader:
Public Types | |
typedef MatrixStreamReader< Field >::Element | Element |
Public Methods | |
SparseRowReader (int base=0) | |
const char * | getName () const |
bool | isSparse () const |
Protected Methods | |
MatrixStreamError | initImpl () |
MatrixStreamError | nextTripleImpl (int &m, int &n, Element &v) |
|
Reimplemented from MatrixStreamReader. |
|
|
|
Get a unique string describing this format. Implements MatrixStreamReader. |
|
Read the beginning (header) of the matrix from the stream and attempt to determine if it is of this reader's type.
Implements MatrixStreamReader. |
|
Determine if this format is sparse or dense.
Implements MatrixStreamReader. |
|
Read the next triple of row index, column index, value and store it in the given references.
Implements MatrixStreamReader. |