Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Random Numbers: Normal Distribution
From: Hadidi, Lars (lhadidi_at_[hidden])
Date: 2015-06-11 17:03:11


?Thank you for help.

I did look into the source but the comment on line 245 about Box-Muller confused me.

Just wanted to be sure if it is really Ziggurat now.

________________________________
Von: Boost-users <boost-users-bounces_at_[hidden]> im Auftrag von Tim Song <t.canens.cpp_at_[hidden]>
Gesendet: Donnerstag, 11. Juni 2015 05:00
An: boost-users_at_[hidden]
Betreff: Re: [Boost-users] Boost Random Numbers: Normal Distribution

On Wed, Jun 10, 2015 at 11:59 AM, Hadidi, Lars <lhadidi_at_[hidden]<mailto:lhadidi_at_[hidden]>> wrote:

I'd like to know which method is employed here.

Have you tried reading the implementation (http://www.boost.org/doc/libs/1_58_0/boost/random/normal_distribution.hpp)?

Hint: The first comment after the includes is

// tables for the ziggurat algorithm



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