tatami
C++ API for different matrix representations
|
Predict future accesses along a consecutive sequence. More...
#include <ConsecutiveOracle.hpp>
Public Member Functions | |
ConsecutiveOracle (Index_ start, Index_ length) | |
size_t | total () const |
Index_ | get (size_t i) const |
Predict future accesses along a consecutive sequence.
Index_ | Integer type of the row/column indices. |
|
inline |
start | Start index of the consecutive sequence on the target dimension. |
length | Length of the sequence. |
|
inlinevirtual |
Implements tatami::Oracle< Index_ >.
|
inlinevirtual |
i | Which prediction to return. |
i
-th prediction, to be interpreted as an index on the target dimension. Implements tatami::Oracle< Index_ >.