Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
Permutation.h File Reference
#include <hydra/detail/Config.h>
#include <hydra/detail/external/hydra_thrust/sort.h>
#include <hydra/detail/external/hydra_thrust/memory.h>
#include <hydra/detail/external/hydra_thrust/iterator/iterator_traits.h>
#include <hydra/detail/external/hydra_thrust/swap.h>
#include <hydra/detail/external/hydra_thrust/reverse.h>
Include dependency graph for Permutation.h:

Go to the source code of this file.

Namespaces

 hydra
 Generic policies definition.
 
 hydra::detail
 

Functions

template<class Iterator >
__hydra_host__ __hydra_device__ void hydra::detail::iter_swap (Iterator first, Iterator second)
 
template<class BidirIt >
__hydra_host__ __hydra_device__ bool hydra::detail::next_permutation (BidirIt first, BidirIt last)
 
template<typename Iterator , typename Integer , typename Comparator >
std::enable_if< std::is_integral< Integer >::value, void >::type __hydra_host__ __hydra_device__ hydra::detail::nth_permutation (Iterator begin, Iterator end, Integer n, Comparator comp)
 
template<class Iterator >
__hydra_host__ __hydra_device__ Iterator hydra::detail::rotate (Iterator first, Iterator n_first, Iterator last)