Stxxl  1.4.0
Classes | Namespaces | Functions
include/stxxl/bits/common/rand.h File Reference
#include <cstdlib>
#include <stxxl/bits/common/types.h>
#include <stxxl/bits/common/seed.h>
Include dependency graph for rand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  stxxl::random_number32
 Fast uniform [0, 2^32) pseudo-random generator with period 2^32, random bits: 32. More...
struct  stxxl::random_number32_r
 Fast uniform [0, 2^32) pseudo-random generator with period 2^32, random bits: 32. Reentrant variant of random_number32 that keeps it's private state. More...
struct  stxxl::random_uniform_fast
 Fast uniform [0.0, 1.0) pseudo-random generator. More...
struct  stxxl::random_uniform_slow
 Slow and precise uniform [0.0, 1.0) pseudo-random generator period: at least 2^48, random bits: at least 31. More...
struct  stxxl::random_number< UniformRGen_ >
 Uniform [0, N) pseudo-random generator. More...
struct  stxxl::random_number64
 Slow and precise uniform [0, 2^64) pseudo-random generator. More...

Namespaces

namespace  stxxl
 

<stxxl> library namespace


Functions

void stxxl::srandom_number32 (unsigned seed=0)
 Set a seed value for random_number32.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines