Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Public Attributes
stxxl::random_uniform_fast Struct Reference

Fast uniform [0.0, 1.0) pseudo-random generator. More...

#include <rand.h>

Collaboration diagram for stxxl::random_uniform_fast:
Collaboration graph
[legend]

List of all members.

Public Types

typedef double value_type

Public Member Functions

 random_uniform_fast (unsigned=0)
value_type operator() () const
 Returns a random number from [0.0, 1.0)

Public Attributes

random_number32 rnd32

Detailed Description

Fast uniform [0.0, 1.0) pseudo-random generator.

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

Definition at line 84 of file rand.h.


Member Typedef Documentation

Definition at line 86 of file rand.h.


Constructor & Destructor Documentation

Definition at line 89 of file rand.h.


Member Function Documentation

value_type stxxl::random_uniform_fast::operator() ( ) const [inline]

Returns a random number from [0.0, 1.0)

Definition at line 93 of file rand.h.


Member Data Documentation

Definition at line 87 of file rand.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines