For instance, I want to generate random numbers which follow lognormal distribution and, also, are within a given range (min, max).
I found the function:
double gsl_ran_lognormal(const gsl_rng * r, double zeta, double sigma);
It do not allow me to input min and max range values.
Aucun commentaire:
Enregistrer un commentaire