RandomIterator
random_iterator Namespace Reference

random_iterator is the top-level namespace which contains all RandomIterator functions and types.

Classes

class  Stream
 representation for streams of pseudorandom numbers More...
 

Typedefs

typedef detail::philox philox
 philox engine More...
 
typedef detail::threefry threefry
 threefry engine More...
 
typedef detail::squares3_128 squares3_128
 squares3_128 engine More...
 
typedef detail::squares4_128 squares4_128
 squares4_128 engine More...
 
typedef detail::squares3_64 squares3_64
 squares3_64 engine More...
 
typedef detail::squares4_64 squares4_64
 squares4_64 engine More...
 

Functions

template<typename DistibutionType , typename EngineType >
Stream< DistibutionType, EngineType > make_stream (DistibutionType const &dist, EngineType eng, uint32_t stream)
 Stream. More...
 

Typedef Documentation

◆ philox

typedef detail::philox random_iterator::philox

Definition at line 40 of file Stream.hpp.

◆ squares3_128

typedef detail::squares3_128 random_iterator::squares3_128

Definition at line 44 of file Stream.hpp.

◆ squares3_64

typedef detail::squares3_64 random_iterator::squares3_64

Definition at line 48 of file Stream.hpp.

◆ squares4_128

typedef detail::squares4_128 random_iterator::squares4_128

Definition at line 46 of file Stream.hpp.

◆ squares4_64

typedef detail::squares4_64 random_iterator::squares4_64

Definition at line 50 of file Stream.hpp.

◆ threefry

typedef detail::threefry random_iterator::threefry

Definition at line 42 of file Stream.hpp.

Function Documentation

◆ make_stream()

template<typename DistibutionType , typename EngineType >
Stream<DistibutionType, EngineType> random_iterator::make_stream ( DistibutionType const &  dist,
EngineType  eng,
uint32_t  stream 
)
Parameters
distSTL compliant distribution instance.
engEngine instance
streamStream number, in the range [0, 2^{32} - 1]
Returns
Stream object.

Definition at line 307 of file Stream.hpp.