MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Namespaces | Functions
permute.h File Reference
#include <vector>
#include <stdexcept>
#include "math/defines.h"
Include dependency graph for permute.h:

Go to the source code of this file.

Namespaces

namespace  math
 Vector, Matrix, basic operations, etc.
 
namespace  math::algo
 Algorithms, functors, value interpolation, etc.
 

Functions

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).