tatami
C++ API for different matrix representations
|
Predict future accesses from a vector containing a fixed sequence. More...
#include <FixedOracle.hpp>
Public Member Functions | |
FixedVectorOracle (std::vector< Index_ > vector) | |
size_t | total () const |
Index_ | get (size_t i) const |
Predict future accesses from a vector containing a fixed sequence.
Index_ | Integer type of the row/column indices. |
|
inline |
vector | Vector containing a fixed sequence of indices on the target dimension. |
|
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_ >.