copasi API
0.1
|
#include <Cmt19937.h>
Public Member Functions | |
C_FLOAT64 | getRandomCC () |
C_FLOAT64 | getRandomCO () |
C_FLOAT64 | getRandomOO () |
Protected Member Functions | |
Cmt19937HR (unsigned C_INT32 seed) | |
Friends | |
CRandom * | CRandom::createGenerator (CRandom::Type type, unsigned C_INT32 seed) |
Cmt19937HR::Cmt19937HR | ( | unsigned C_INT32 | seed | ) | [protected] |
Default/Named constructor. Seeds the random number generator with the given seed.
C_INT32 | seed |
C_FLOAT64 Cmt19937HR::getRandomCC | ( | ) | [virtual] |
Produces a uniformly distributed random number in 0 <= x <= 1.
Reimplemented from Cmt19937.
C_FLOAT64 Cmt19937HR::getRandomCO | ( | ) | [virtual] |
Produces a uniformly distributed random number in 0 <= x < 1. Note: 0 < x <= 1 may be achieved by 1.0 - getRandomCO().
Reimplemented from Cmt19937.
C_FLOAT64 Cmt19937HR::getRandomOO | ( | ) | [virtual] |
Produces a uniformly distributed random number in 0 < x < 1.
Reimplemented from Cmt19937.
CRandom* CRandom::createGenerator | ( | CRandom::Type | type, |
unsigned C_INT32 | seed | ||
) | [friend] |
Reimplemented from Cmt19937.