Boost logo

Boost Users :

Subject: [Boost-users] [math/stat] generating t-distributed random numbers
From: U.Mutlu (for-gmane_at_[hidden])
Date: 2016-01-22 17:06:48


Hi,
I've an old code that creates a normal-distributed random number
between 0 and 1 (by using the polar method).
Is it possible to convert this number to a t-distributed number (with v=5)
using boost?

Or, alternatively: how to generate t-distributed random numbers
in the range 0 to 1 with v=5 (ie. degrees of freedom = 5) in boost?


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