|
tatami
C++ API for different matrix representations
|
Predict future accesses along a consecutive sequence. More...
#include <ConsecutiveOracle.hpp>


Public Member Functions | |
| ConsecutiveOracle (const Index_ start, const Index_ length) | |
| PredictionIndex | total () const |
| Index_ | get (PredictionIndex i) const |
Public Member Functions inherited from tatami::Oracle< Index_ > | |
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_ >.