Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions
random.hh File Reference

Random number generator system. More...

#include <numeric/random/random.fwd.hh>
#include <numeric/random/uniform.fwd.hh>
#include <utility/pointer/owning_ptr.hh>
#include <utility/VirtualBase.hh>
#include <iosfwd>
#include <utility/vector1.hh>

Classes

class  numeric::random::RandomGenerator
 Random number generator system. More...
 

Namespaces

 numeric
 Unit headers.
 
 numeric::random
 

Typedefs

typedef
utility::pointer::shared_ptr
< RandomGenerator > 
numeric::random::RandomGeneratorOP
 

Functions

RandomGenerator & numeric::random::rg ()
 Return the one-per-thread "singleton" random generator. More...
 
double numeric::random::uniform ()
 Generate a random number between 0 and 1. Threadsafe since each thread uses its own random generator. More...
 
double numeric::random::gaussian ()
 Generate a random number pulled from a standard normal – i.e. mean of zero and standard deviation of 1. Threadsafe since each thread uses its own random generator. More...
 
int numeric::random::random_range (int low, int high)
 Return a number uniformly drawn from the inclusive range between low and high. Threadsafe since each thread uses its own random generator. More...
 

Detailed Description

Random number generator system.

Author
Sergey Lyskov (Serge.nosp@m.y.Ly.nosp@m.skov@.nosp@m.jhu..nosp@m.edu)
Remarks
  • -