
From:  Will Farr 
Subject:  Re: [Helpgsl] generating random numbers between two numbers 
Date:  Tue, 6 May 2008 19:49:23 0400 
Will On May 6, 2008, at 8:00 AM, Awhan Patnaik wrote:
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 oneway is the following:num = a + rand*(ba) where rand is a random number in the unit interval. Isthis the only way available ? I mean are the statistical properties preserved in such cases. _______________________________________________ Helpgsl mailing list address@hidden http://lists.gnu.org/mailman/listinfo/helpgsl
[Prev in Thread]  Current Thread  [Next in Thread] 