81 #ifndef SHARK_RNG_GLOBALRNG_H 82 #define SHARK_RNG_GLOBALRNG_H 105 #include <boost/random.hpp> 115 template<
typename RNG>
119 typedef RNG rng_type;
147 static double logNormal(
double location=0.0,
double scale=1.0) {
159 static double cauchy(
double median=0.0,
double gamma=1.0) {
165 static int geom(
double p=0.0) {
183 static double gam(
double k,
double theta) {
189 static void seed(
typename rng_type::result_type s ) {
196 #define ANNOUNCE_SHARK_RNG( boost_rng_type, shark_rng_name )\ 197 typedef BaseRng< boost_rng_type > shark_rng_name; \