|
tatami
C++ API for different matrix representations
|
User-friendly wrapper around a MyopicSparseExtractor.
More...
#include <make_Wrapper.hpp>
Public Member Functions | |
| Index_ | length () const |
| SparseRange< Value_, Index_ > | fetch (Index_ i) |
User-friendly wrapper around a MyopicSparseExtractor.
| Value_ | Numeric type of the matrix value. |
| Index_ | Integer type of the row/column indices. |
Each instance of this class automatically allocates the buffer(s) to be used in MyopicSparseExtractor::fetch().
|
inline |
SparseRange returned by fetch(). This is constant for a given instance of this class.
|
inline |
| i | Index of the row/column of interest. |
SparseRange containing the number, values and/or indices of the structural non-zeros of the i-th row/column. Pointers within this object are only guaranteed to be valid until the next call to this method.