Public Types | Public Member Functions | Public Attributes

random_uniform_fast Struct Reference

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

#include <rand.h>

Collaboration diagram for 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!

Member Function Documentation

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

Returns a random number from [0.0, 1.0).


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