Monero
Loading...
Searching...
No Matches
apply_permutation.h File Reference
#include <vector>
#include <functional>
#include "misc_log_ex.h"
Include dependency graph for apply_permutation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tools
 Various Tools.

Functions

template<typename F>
void tools::apply_permutation (std::vector< size_t > permutation, const F &swap)
template<typename T>
void tools::apply_permutation (const std::vector< size_t > &permutation, std::vector< T > &v)