#include <cfloat>
#include <ctime>
#include <iostream>
#include <boost/static_assert.hpp>
#include "mcmc++/lot.h"
Include dependency graph for lot.cpp:

Go to the source code of this file.
Namespaces | |
| namespace | lot_conditions |
Defines | |
| #define | unif_rand() uniform() |
| #define | exp_rand() expon() |
| #define | norm_rand() snorm() |
| #define | repeat for (;;) |
| #define | expmax log(DBL_MAX) |
A series of random number generators are provided here. Any one of three uniform random number generators can be chosen. By default the Mersenne twister is used.
Definition in file lot.cpp.
| #define exp_rand | ( | ) | expon() |
Macro for compatibility with RNGs from R
Definition at line 62 of file lot.cpp.
Referenced by lot::gamma(), lot::geom(), and lot::poisson().
| #define norm_rand | ( | ) | snorm() |
Macro for compatibility with RNGs from R
Definition at line 65 of file lot.cpp.
Referenced by lot::gamma(), lot::poisson(), and lot::t().
| #define repeat for (;;) |
Macro for compatibility with RNGs from R
Definition at line 68 of file lot.cpp.
Referenced by lot::binom(), lot::gamma(), lot::poisson(), and lot::snorm().
| #define unif_rand | ( | ) | uniform() |
Macro for compatibility with RNGs from R
Definition at line 59 of file lot.cpp.
Referenced by lot::beta(), lot::binom(), lot::cauchy(), lot::gamma(), lot::hypergeom(), lot::poisson(), lot::snorm(), and lot::weibull().
1.5.1