Workspace 6.21.5
|
#include <cstdlib>
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) |
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.