|
Library of Assembled Shared Sources
|
Uses the C standard library function rand(). More...
#include <random.h>
Public Types | |
| using | result_type = int |
| type of return value. | |
| typedef int | TValue |
| type of return value. | |
Public Member Functions | |
| result_type | operator() () const |
| draw a random number | |
| result_type | operator() (result_type supremum) const |
| draw a random number remapped to range [0, supremum) | |
Static Public Member Functions | |
| static constexpr result_type | min () |
| minimum return value. | |
| static constexpr result_type | max () |
| maximum return value. | |
Uses the C standard library function rand().
| typedef int lass::num::RandomStandard::TValue |
|
inline |
draw a random number remapped to range [0, supremum)
Definition at line 78 of file random.inl.