GSL allows random number generation between the unit interval [0,1]. However if one has to generate numbers between ANY two real numbers a and b then one way is the following: num = a + rand*(b-a) where rand is a random number in the unit interval. Is this the only way available ? I mean are the statistical properties preserved in such cases. _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
- [Help-gsl] generating random numbers between two numbers Awhan Patnaik
