WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::meta Namespace Reference

Classes

struct  all
 Determines if all predicated values are true or not. More...
 
struct  all< false, Vals... >
 
struct  all< true, Vals... >
 

Functions

template<typename T >
std::vector< T > apply_permutation (std::vector< T > &&vec, const std::vector< std::size_t > &p)
 Applies an order permutation (not in place?) to a vector.
 

Function Documentation

◆ apply_permutation()

template<typename T >
std::vector< T > wxm::meta::apply_permutation ( std::vector< T > &&  vec,
const std::vector< std::size_t > &  p 
)

Applies an order permutation (not in place?) to a vector.