Stxxl  1.2.1
Public Member Functions | List of all members
random_number32 Struct Reference

Fast uniform [0, 2^32) pseudo-random generator with period 2^32, random bits: 32. More...

#include <rand.h>

Public Member Functions

value_type operator() () const
 Returns a random number from [0, 2^32)

Detailed Description

Fast uniform [0, 2^32) pseudo-random generator with period 2^32, random bits: 32.

Warning
Uses a global state and is not reentrant or thread-safe!

Member Function Documentation

value_type random_number32::operator() ( ) const
inline

Returns a random number from [0, 2^32)


The documentation for this struct was generated from the following file: