MyraMath
|
Simplistic random number functions. More...
#include <myramath/utility/detail/LIBPUBLIC.h>
Go to the source code of this file.
Functions | |
int | myra::random_int (int min, int max) |
Generates random integers, uniformly distribution between min/max-1. | |
int | myra::random_int (int max) |
Generates random integers, uniformly distributed between 0 and max-1. | |
template<class Number > | |
Number | myra::random () |
Generate random real/complex Numbers, uniformly distributed over [-1,1]. | |
template<class Precision > | |
Precision | myra::random (Precision min, Precision max) |
Generates random real Numbers, uniformly distributed over [min,max]. | |
Simplistic random number functions.