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

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, kalb at, bjorn.karlsson at, gregod at, wekempf at