HDK
|
#include <UT_MTwister.h>
Public Member Functions | |
UT_MersenneTwister (uint seed=5489U) | |
void | setSeed (uint seed) |
void | setSeed (const uint key[], uint klength) |
void | save (std::ostream &os, bool binary) const |
bool | load (UT_IStream &is) |
uint | urandom () |
fpreal32 | frandom () |
fpreal32 | frandom0 () |
Definition at line 28 of file UT_MTwister.h.
|
inline |
Definition at line 30 of file UT_MTwister.h.
|
inline |
Definition at line 63 of file UT_MTwister.h.
|
inline |
Definition at line 70 of file UT_MTwister.h.
bool UT_MersenneTwister::load | ( | UT_IStream & | is | ) |
void UT_MersenneTwister::save | ( | std::ostream & | os, |
bool | binary | ||
) | const |
|
inline |
Definition at line 43 of file UT_MTwister.h.