
13 Dec
2008
13 Dec
'08
10:47 p.m.
Hi all, I've read the implementation for the normal distribution and I've seen people wanted Box-Muller algorithm. Instead, I suggest Marsaglia method. Instead of using cos and sin, we use a square soot. The advantage is that we already use the square root for the log. Then it's really faster. Anybody for this ? Laurent