Workspace 6.21.5
Namespaces | Functions
randomdouble.h File Reference
#include <cstdlib>
Include dependency graph for randomdouble.h:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Application
 Application-level functionality for all workspace applications.
 

Functions

double randomInRange (double low, double high)
 
double RandomInRange (double low, double high)
 
double randomProb ()
 
double RandomProb ()
 
void seedRandomGenerator (unsigned seed)
 
void SeedRandomGenerator (unsigned seed)
 

Detailed Description

Note that these functions are fairly poor by stringent randomness standards. Nevertheless, they use only standard C++ calls and are more than sufficient for tasks that only require modest randomness in the return values.