Random number generation. More...
#include <core/scalar.h>Go to the source code of this file.
Functions | |
| void | Random::seed (int i) |
| double | Random::uniform (double start=0.0, double end=1.0) |
| uniform random numbers between 0 and 1 | |
| double | Random::normal (double mean=0.0, double sigma=1.0, double cap=0.0) |
| normal random numbers with mean, sigma and an optional cap if non-zero | |
| complex | Random::normalComplex (double sigma=1.0) |
| normal complex number with mean 0 and deviation sigma | |
Random number generation.