« Return to Thread: Why not boost random numbers?

Why not boost random numbers?

by Dimathematician :: Rate this Message:

Reply to Author | View in Thread

Hi all,


Boost has a random number library too and I was wondering, why this has never
been considered and why own classes have been set up which were not based
on the boost library. I did some simple tests regarding speed: 30.000.000 RN
generations via boost and quantlib. Both with Mersenne Twister and Box-Mueller.

Boost:        32 seconds
QuantLib:   53 seconds

Might be because I'm calling the numbers with .next().value?



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
QuantLib-dev mailing list
QuantLib-dev@...
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

 « Return to Thread: Why not boost random numbers?