Public Member Functions

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 Member Functions

value_type operator() () const
 Returns a random number from [0.0, 1.0).

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: