This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: problems when using gsl_ran_ugaussian
On 19 May 2003, Yves Caniou told this:
> The 3 first results must be the same, they are not..
> The 3 last too, same conclusion..
>
> Moreover, I thought that the result would be the sum from -inf to x.. Then,
> the value for 15000 must be 1, and for 0, 0.5.. But maybe I am mistaken on
> this point, am I ?
No. This is pdf (the density) and not cdf. The value for 15000 is 0.
As pointed out by others, you probably forgot to include gsl/gsl_randist.h.
It is a bit surprising that gcc doesn't catch undefined functions by default
(without -Wall option).
Michael