|
PSCF v1.3.3
|
generates 53 bit resolution doubles in the half-open interval [0, 1) More...
#include <mtrand.h>
Additional Inherited Members | |
| Public Member Functions inherited from Util::MTRand_int32 | |
| MTRand_int32 () | |
| Default constructor. | |
| MTRand_int32 (unsigned long s) | |
| Constructor with 32 bit int as seed. | |
| MTRand_int32 (const unsigned long *array, int size) | |
| Constructor with array of size 32 bit ints as seed. | |
| MTRand_int32 (const MTRand_int32 &) | |
| Copy constructor. | |
| void | operator= (const MTRand_int32 &) |
| Assignment. | |
| virtual | ~MTRand_int32 () |
| Destructor. | |
| void | seed (unsigned long) |
| Seed with 32 bit integer. | |
| void | seed (const unsigned long *, int size) |
| Seed with array. | |
| unsigned long | operator() () |
| Overload operator() to make this a generator (functor) | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int version) |
| Serialize to/from an archive. | |
generates 53 bit resolution doubles in the half-open interval [0, 1)