Rosetta 3.3
Namespaces | Functions
src/utility/random.functions.hh File Reference

Random number generation functions. More...

#include <cstdlib>

Namespaces

namespace  utility
 

unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.


Functions

template<typename T >
utility::random ()
 Generic random number generator.
double utility::drand ()
 Generate random doubles.

Detailed Description

Random number generation functions.

Author:
Ion Yannopoulos (ion@rosettacommons.org)
Note:
When designing RNGs consider: http://www.sgi.com/tech/stl/RandomNumberGenerator.html
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines