58         double u, zero = 0.0, one = 1.0;
    64         return - o->
m.
d*log(u);
    76         double zero = 0.0, one = 1.0;
    80         if (x < zero)   
return zero;
    82         return o->
s.
d * exp(- o->
s.
d * x);
    94         double zero = 0.0, one = 1.0;
    98         if (x < zero)   
return zero;
   100         return one - exp(- o->
s.
d * x);
   113         float u, zero = 0.0, one = 1.0;
   119         return - o->
m.
f*log(u);
   131         float zero = 0.0, one = 1.0;
   135         if (x < zero)   
return zero;
   137         return o->
s.
f * expf(- o->
s.
f * x);
   149         float zero = 0.0, one = 1.0;
   153         if (x < zero)   
return zero;
   155         return one - expf(- o->
s.
f * x);
 float LRf_nexp_CDF(LR_obj *o, float x)
LRf_nexp_CDF(LR_obj *o, float x) - float negative exponential cumulative distribution function...
double LRd_nexp_CDF(LR_obj *o, double x)
LRd_nexp_CDF(LR_obj *o, double x) - double negative exponential cumulative distribution function...
float LRf_nexp_PDF(LR_obj *o, float x)
LRf_nexp_PDF(LR_obj *o, float x) - float negative exponential probablity distribution function...
float LRf_nexp_RAN(LR_obj *o)
LRf_nexp_RAN(LR_obj *o) - float random negative exponential distribution using the inversion method...
double LRd_nexp_RAN(LR_obj *o)
LRd_nexp_RAN(LR_obj *o) - double random negative exponential distribution using the inversion method...
The LibRan common header file. 
double LRd_nexp_PDF(LR_obj *o, double x)
LRd_nexp_PDF(LR_obj *o, double x) - double negative exponential probablity distribution function...
the fundamental LibRan random variate distribution object