LibRan
0.1
Pseudo-random number distribution generator
|
A special object for defining some of the random variate distributions. More...
#include <libran.h>
Data Fields | |
int | n |
int | nn |
double * | bdrs |
double * | c |
double * | sc |
double | norm |
int | flags |
int(* | new )(LR_obj *o, int n) |
int(* | rm )(LR_obj *o) |
int(* | set )(LR_obj *o, double x, double p) |
int(* | normalize )(LR_obj *o) |
A special object for defining some of the random variate distributions.
The LR_pcs
object is not referenced directly by the program and is only used by the special piecewise uniform and the linear spline random variate distributions, and is referenced through the LR_obj
aux attribute.
In this object are attributes concerning the tallying of samples and the rest are for generic referencing specific methods given the random variate.
int flags |
double* sc |
int(* set) (LR_obj *o, double x, double p) |