Thrust
Namespaces | Typedefs
random.h File Reference

Pseudo-random number generators. More...

#include <thrust/detail/config.h>
#include <thrust/detail/cstdint.h>
#include <thrust/random/discard_block_engine.h>
#include <thrust/random/linear_congruential_engine.h>
#include <thrust/random/linear_feedback_shift_engine.h>
#include <thrust/random/subtract_with_carry_engine.h>
#include <thrust/random/xor_combine_engine.h>
#include <thrust/random/uniform_int_distribution.h>
#include <thrust/random/uniform_real_distribution.h>
#include <thrust/random/normal_distribution.h>

Go to the source code of this file.

Namespaces

 thrust
 thrust is the top-level namespace which contains all Thrust functions and types.
 
 thrust::random
 thrust::random is the namespace which contains random number engine class templates, random number engine adaptor class templates, engines with predefined parameters, and random number distribution class templates. They are provided in a separate namespace for import convenience but are also aliased in the top-level thrust namespace for easy access.
 

Typedefs

typedef discard_block_engine< ranlux24_base, 223, 23 > thrust::random::ranlux24
 A random number engine with predefined parameters which implements the RANLUX level-3 random number generation algorithm. More...
 
typedef discard_block_engine< ranlux48_base, 389, 11 > thrust::random::ranlux48
 A random number engine with predefined parameters which implements the RANLUX level-4 random number generation algorithm. More...
 
typedef xor_combine_engine< linear_feedback_shift_engine< thrust::detail::uint32_t, 32u, 31u, 13u, 12u >, 0, xor_combine_engine< linear_feedback_shift_engine< thrust::detail::uint32_t, 32u, 29u, 2u, 4u >, 0, linear_feedback_shift_engine< thrust::detail::uint32_t, 32u, 28u, 3u, 17u >, 0 >, 0 > thrust::random::taus88
 A random number engine with predefined parameters which implements L'Ecuyer's 1996 three-component Tausworthe random number generator. More...
 
typedef minstd_rand thrust::random::default_random_engine
 An implementation-defined "default" random number engine. More...
 

Detailed Description

Pseudo-random number generators.