|
pf
|
A class that performs sampling from Student's T distribution. More...
#include <rv_samp.h>


Public Member Functions | |
| UnivStudTSampler ()=delete | |
| Default-construction is deleted. | |
| UnivStudTSampler (float_t dof) | |
| The user must supply the degrees of freedom parameter. More... | |
| float_t | sample () |
| Draws a random number. More... | |
Public Member Functions inherited from pf::rvsamp::rvsamp_base | |
| rvsamp_base () | |
| The default constructor. This is the only option available. Sets the seed with the clock. | |
Private Attributes | |
| std::student_t_distribution< float_t > | m_t_gen |
| makes t random variates | |
Additional Inherited Members | |
Protected Attributes inherited from pf::rvsamp::rvsamp_base | |
| std::mt19937 | m_rng |
| prng | |
A class that performs sampling from Student's T distribution.
| pf::rvsamp::UnivStudTSampler< float_t >::UnivStudTSampler | ( | float_t | dof | ) |
The user must supply the degrees of freedom parameter.
| dof | the degrees of freedom that are desired. |
| float_t pf::rvsamp::UnivStudTSampler< float_t >::sample |
Draws a random number.