| pf
    | 
A class that performs sampling from a univariate Log-Normal distribution. More...
#include <rv_samp.h>


| Public Member Functions | |
| UnivLogNormSampler () | |
| Default-constructor sets up for standard Normal random variate generation. | |
| UnivLogNormSampler (float_t mu, float_t sigma) | |
| The user must supply both mu and sigma.  More... | |
| void | setSigma (float_t sigma) | 
| sets the scale parameter of the logged random variable.  More... | |
| void | setMu (float_t mu) | 
| sets the location parameter of the logged random variable.  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::normal_distribution< float_t > | m_z_gen | 
| makes normal random variates | |
| float_t | m_mu | 
| mu | |
| float_t | m_sigma | 
| sigma | |
| Additional Inherited Members | |
|  Protected Attributes inherited from pf::rvsamp::rvsamp_base | |
| std::mt19937 | m_rng | 
| prng | |
A class that performs sampling from a univariate Log-Normal distribution.
| pf::rvsamp::UnivLogNormSampler< float_t >::UnivLogNormSampler | ( | float_t | mu, | 
| float_t | sigma | ||
| ) | 
The user must supply both mu and sigma.
| mu | a location parameter for the logarithm of the sample. | 
| sigma | a positive scale parameter for the logarithm of the sample. | 
| float_t pf::rvsamp::UnivLogNormSampler< float_t >::sample | 
draws a random number.
| void pf::rvsamp::UnivLogNormSampler< float_t >::setMu | ( | float_t | mu | ) | 
sets the location parameter of the logged random variable.
| mu | the desired parameter. | 
| void pf::rvsamp::UnivLogNormSampler< float_t >::setSigma | ( | float_t | sigma | ) | 
sets the scale parameter of the logged random variable.
| sigma | the desired parameter. |