Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Random Numbers: Normal Distribution
From: Oswin Krause (Oswin.Krause_at_[hidden])
Date: 2015-06-11 02:06:04


Recently, it changed to Ziggurat's method.

On 2015-06-10 17:59, Hadidi, Lars wrote:
> Hello,
>
> I tried to find out which method is used by the boost library to
> transform random numbers from a random number engine to the Gaussian
> Distribution.
>
> There are the Box-Muller-Method, Marsaglia's Polar Method and
> Ziggurat's algorithm out there, but i could not determine which of
> those is actually used by
>
> boost::normal_distribution<double>​
>
> I'd like to know which method is employed here.
>
> Thanks for reply in advance,
>
> sincerely,
>
> Lars
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net