User-friendly wrapper around a OracularSparseExtractor.
More...
#include <make_Wrapper.hpp>
template<typename Value_, typename Index_>
class tatami::OracularSparseWrapper< Value_, Index_ >
User-friendly wrapper around a OracularSparseExtractor.
- Template Parameters
-
| 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 OracularSparseExtractor::fetch().
◆ length()
template<typename Value_ , typename Index_ >
- Returns
- Length of the arrays in the
SparseRange returned by next(). This is constant for a given instance of this class.
◆ next()
template<typename Value_ , typename Index_ >
- Returns
SparseRange containing the number, values and/or indices of the structural non-zeros of the next predicted row/column. Pointers within this object are only guaranteed to be valid until the next call to this method.
The documentation for this class was generated from the following file: