1#ifndef TATAMI_FIXED_ORACLE_HPP
2#define TATAMI_FIXED_ORACLE_HPP
4#include "../base/Oracle.hpp"
20template<
typename Index_>
35 return my_reference[
i];
39 const Index_* my_reference;
48template<
typename Index_>
57 return my_sequence.size();
61 return my_sequence[
i];
65 std::vector<Index_> my_sequence;
Predict future accesses from a vector containing a fixed sequence.
Definition FixedOracle.hpp:49
FixedVectorOracle(std::vector< Index_ > vector)
Definition FixedOracle.hpp:54
Index_ get(size_t i) const
Definition FixedOracle.hpp:60
size_t total() const
Definition FixedOracle.hpp:56
Predict future accesses from a view on a fixed sequence.
Definition FixedOracle.hpp:21
Index_ get(size_t i) const
Definition FixedOracle.hpp:34
FixedViewOracle(const Index_ *ptr, size_t number)
Definition FixedOracle.hpp:28
size_t total() const
Definition FixedOracle.hpp:30
Predict future access requests on the target dimension.
Definition Oracle.hpp:21
Flexible representations for matrix data.
Definition Extractor.hpp:15
auto consecutive_extractor(const Matrix< Value_, Index_ > *mat, bool row, Index_ iter_start, Index_ iter_length, Args_ &&... args)
Definition consecutive_extractor.hpp:35