typedef unsigned long MTRand::uint32 |
MTRand::uint32 MTRand::randInt | ( | ) |
References left, pNext, and reload().
Referenced by AddCosmics(), rand(), rand53(), randDblExc(), randExc(), and randInt().
MTRand::uint32 MTRand::randInt | ( | const uint32 | n | ) |
References randInt().
double MTRand::rand | ( | ) |
References randInt().
Referenced by Interrupt::check_now_(), main(), operator()(), rand(), randNorm(), and WeatherModel::weather_ok().
double MTRand::rand | ( | const double | n | ) |
References rand().
double MTRand::randExc | ( | ) |
References randInt().
Referenced by randExc(), and randPoisson().
double MTRand::randExc | ( | const double | n | ) |
References randExc().
double MTRand::randDblExc | ( | ) |
References randInt().
Referenced by randDblExc().
double MTRand::randDblExc | ( | const double | n | ) |
References randDblExc().
double MTRand::operator() | ( | ) |
References rand().
double MTRand::randNorm | ( | const double | mean = 0.0 , |
|
const double | stddev = 1.0 | |||
) |
References rand().
Referenced by bootstrap_resample_wf(), WeatherModel::getLinTrans(), WeatherModel::getSeeing(), main(), and WeatherModel::weather_ok().
double MTRand::randPoisson | ( | const double | mean | ) |
void MTRand::seed | ( | const uint32 | oneSeed | ) |
References initialize(), and reload().
Referenced by main().
References initialize(), N, reload(), and state.
void MTRand::initialize | ( | const uint32 | oneSeed | ) | [protected] |
void MTRand::reload | ( | ) | [protected] |
MTRand::uint32 MTRand::hash | ( | time_t | t, | |
clock_t | c | |||
) | [static, protected] |
Referenced by seed().
std::ostream& operator<< | ( | std::ostream & | os, | |
const MTRand & | mtrand | |||
) | [friend] |
std::istream& operator>> | ( | std::istream & | is, | |
MTRand & | mtrand | |||
) | [friend] |
uint32 MTRand::state[N] [protected] |
Referenced by initialize(), load(), MTRand(), operator<<(), operator=(), operator>>(), reload(), save(), and seed().
uint32* MTRand::pNext [protected] |
Referenced by load(), MTRand(), operator=(), operator>>(), randInt(), and reload().
int MTRand::left [protected] |
Referenced by load(), MTRand(), operator<<(), operator=(), operator>>(), randInt(), reload(), and save().
double MTRand::sq_ [protected] |
Referenced by MTRand(), and randPoisson().
double MTRand::alxm_ [protected] |
Referenced by MTRand(), and randPoisson().
double MTRand::g_ [protected] |
Referenced by MTRand(), and randPoisson().
double MTRand::oldm_ [protected] |
Referenced by MTRand(), and randPoisson().