#include "Math/Random/Random.h"
#include <Common/assertion.h>
#include <cstddef>
#include <algorithm>
#include <iterator>
#include <utility>
Go to the source code of this file.
|
template<typename IndexPairConsumer > |
void | ph::math::shuffle_durstenfeld_index_pairs (const std::size_t beginIndex, const std::size_t endIndex, IndexPairConsumer consumer) |
|
template<typename RandomIterator , typename Swapper = detail::shuffle::StandardSwapper<typename std::iterator_traits<RandomIterator>::value_type>> |
void | ph::math::shuffle_durstenfeld (RandomIterator begin, RandomIterator end, Swapper swapper=Swapper()) |
|