Template Class DefaultPermuter

Class Documentation

template<size_t BLOCKSIZE = 1024>
class DefaultPermuter

Default Permuter backend class for generalised transforms. Adapted from QFlex.

Template Parameters

blocksize – Controls the internal data chunk size for cache blocking.

Public Functions

template<class T>
inline void Transpose(const std::vector<T> &data_, const std::vector<size_t> &shape, std::vector<T> &data_out, const std::vector<std::string> &old_indices, const std::vector<std::string> &new_indices)

Reference-based transpose operation. See Permuter class for more details.

template<class T>
inline std::vector<T> Transpose(std::vector<T> data_, const std::vector<size_t> &shape, const std::vector<std::string> &old_indices, const std::vector<std::string> &new_indices)

Return-based transpose operation. See Permuter class for more details.