LibRan  0.1
Pseudo-random number distribution generator
Data Fields
LR_uinvcdf Struct Reference

A special object for using a user defined CDF. More...

#include <libran.h>

Data Fields

double(* dcdf )(double x)
 
float(* fcdf )(float x)
 

Detailed Description

A special object for using a user defined CDF.

This is another auxiliary object specialized to the LR_type = uinvcdf. The user will supply their own defined CDF which will be used via the inversion method. The new random variate will be given by $ X \gets \mbox{CDF}^{-1}(U) $ where U is a uniformly distributed random variate on the interval [0,1).

The user will define any CDF attributes externally of LibRan.

Definition at line 238 of file libran.h.


The documentation for this struct was generated from the following file: