#include <vector>
#include <utility>
Go to the source code of this file.
Functions | |
template<class T > | |
void | util::sortrank (const std::vector< T > &vec, std::vector< size_t > &ranks) |
Get ranks of elements in a vector. | |
template<class T > | |
void | util::sortrank (const std::deque< T > &vec, std::deque< size_t > &ranks) |
template<class T > | |
bool | util::sortrankcmp (const std::pair< const T *, size_t > &a, const std::pair< const T *, size_t > &b) |
Utilities that relate to sorting stuff
Definition in file SortUtil.H.