#include <vector>
#include <stdexcept>
#include "math/defines.h"
Go to the source code of this file.
|
| template<class V , class P > |
| void | math::algo::permute_math (std::vector< V > &v, std::vector< P > const &p) |
| | This function permutes a vector of elements v using a permutation given by vector p, calculating v' = p(v).
|
| |
| template<class V , class P > |
| void | math::algo::permute_reloc (std::vector< V > &v, std::vector< P > const &p) |
| | This function permutes a vector of elements v using a permutation given by vector p, calculating v' = p(v).
|
| |