
#include <random.h>
Public Methods | |
| unsigned long | get_rand31 () |
| unsigned long | get_rand32 () |
| MSLRandomSource () | |
| MSLRandomSource (int p) | |
| MSLRandomSource (int low, int high) | |
| unsigned long | get () |
| void | set_seed (int s) |
| void | set_range (int low, int high) |
| int | set_precision (int p) |
| int | get_precision () |
| MSLRandomSource& | operator>> (unsigned char &x) |
| MSLRandomSource& | operator>> (int &x) |
| MSLRandomSource& | operator>> (long &x) |
| MSLRandomSource& | operator>> (unsigned int &x) |
| MSLRandomSource& | operator>> (unsigned long &x) |
| MSLRandomSource& | operator>> (double &x) |
| MSLRandomSource& | operator>> (float &x) |
| MSLRandomSource& | operator>> (bool &b) |
| int | operator() () |
| int | operator() (int prec) |
| int | operator() (int low, int high) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|