![]() |
NEURON
|
#include <algorithm>
#include <vector>
Go to the source code of this file.
Functions | |
template<typename T > | |
void | forward_permute (std::vector< T > &data, const std::vector< int > &perm) |
template<typename T > | |
void | forward_permute (T *&data, int data_size, const std::vector< int > &perm) |
template<typename T > | |
std::vector< T > | inverse_permute_vector (const std::vector< T > &p) |
void forward_permute | ( | std::vector< T > & | data, |
const std::vector< int > & | perm | ||
) |
Definition at line 5 of file permute_utils.hpp.
void forward_permute | ( | T *& | data, |
int | data_size, | ||
const std::vector< int > & | perm | ||
) |
Definition at line 16 of file permute_utils.hpp.
std::vector<T> inverse_permute_vector | ( | const std::vector< T > & | p | ) |
Definition at line 31 of file permute_utils.hpp.