__gnu_parallel::_RandomNumber(3) Library Functions Manual __gnu_parallel::_RandomNumber(3)

__gnu_parallel::_RandomNumber - Random number generator, based on the Mersenne twister.

#include <random_number.h>


_RandomNumber ()
Default constructor. Seed with 0. _RandomNumber (uint32_t __seed, uint64_t _M_supremum=0x100000000ULL)
Constructor. unsigned long __genrand_bits (int __bits)
Generate a number of random bits, run-time parameter. uint32_t operator() ()
Generate unsigned random 32-bit integer. uint32_t operator() (uint64_t local_supremum)
Generate unsigned random 32-bit integer in the interval [0,local_supremum).

Random number generator, based on the Mersenne twister.

Default constructor. Seed with 0.

Constructor.

Parameters

__seed Random __seed.
_M_supremum Generate integer random numbers in the interval [0,_M_supremum).

Generate a number of random bits, run-time parameter.

Parameters

__bits Number of bits to generate.

Generate unsigned random 32-bit integer.

Generate unsigned random 32-bit integer in the interval [0,local_supremum).

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++