STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::random_uniform_fast Struct Reference

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 123 of file rand.h.

+ Collaboration diagram for stxxl::random_uniform_fast:

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) More...
 

Public Attributes

random_number32 rnd32
 

Member Typedef Documentation

Definition at line 125 of file rand.h.

Constructor & Destructor Documentation

stxxl::random_uniform_fast::random_uniform_fast ( unsigned  = 0)
inline

Definition at line 128 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 132 of file rand.h.

Member Data Documentation

random_number32 stxxl::random_uniform_fast::rnd32

Definition at line 126 of file rand.h.


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