Boost logo

Boost :

Subject: Re: [boost] Problem with boost::random seed
From: Max (more4less_at_[hidden])
Date: 2011-02-10 03:14:03


> >
> > Shouldn't they be in [0, 1]?
> >
>
> No. Normal variates can be any real number.
>
> In Christ,
> Steven Watanabe

Oh, my fault. The parameters in
        boost::normal_distribution<> normal(0,1)
are the mean and sigma of the normal distribution, not the range of the
generated numbers.

Thanks

B/Rgds
Max


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk