40 static double sq,alxm,g,oldm=(-1.0);
70 t=0.9*(1.0+y*y)*
exp(em*alxm-
gammln(em+1.0)-g);
d3_array tan(const d3_array &arr3)
Returns d3_array results with computed tan from elements in arr3.
double gammln(double xx)
Log gamma function.
int indexmin() const
Get minimum valid index.
void fill_randpoisson(double lambda, const random_number_generator &rng)
Fill vector with Poisson pseudorandom numbers.
Description not yet available.
d3_array sqrt(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
d3_array exp(const d3_array &arr3)
Returns d3_array results with computed exp from elements in arr3.
double randpoisson(double xm, const random_number_generator &rng)
Poisson random deviates.
double better_rand(long int &idum)
Description not yet available.
d3_array log(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.