default_rng.h File Reference

Header for access to the default random number generator. More...

#include "real.h"

Go to the source code of this file.

Defines

#define ranf()   (*global_runif)()
 A macro that can be used in C to access a random number generator for uniform random variables.

#define set_global_runif(func)   global_runif = func
 A macro for setting the function that provides global access to uniform random variables.


Functions

REAL LEC_runif (void)
 A global routine that uses the default_rng rng to call a uniform number generator.


Variables

REAL(* global_runif )(void)
 A pointer to a function that accesses a random number generator for uniform random variables.


Detailed Description

Header for access to the default random number generator.

TODO: cleanup the documentation for the rest of this header.