#include <distribution.h>
|
| | LogNormalDistribution (double mu, double sigma) |
| |
| | LogNormalDistribution ()=default |
| |
| double | logPDF (const double &x) const |
| |
| double | dLogPDF (const double &x) const |
| |
| double | ddLogPDF (const double &x) const |
| |
| double | CDF (const double &x) const |
| |
| double | quantile (const double &p) const |
| |
| double | sample (std::default_random_engine &rng) |
| |
| void | setMean (double mu) |
| |
| void | setStd (double sigma) |
| |
| double | logPDF (const double &x) const |
| | Computes the log probability density function (log-PDF) of the distribution.
|
| |
| double | dLogPDF (const double &x) const |
| | Computes the first derivative of the log-PDF.
|
| |
| double | ddLogPDF (const double &x) const |
| | Computes the second derivative of the log-PDF.
|
| |
| double | CDF (const double &x) const |
| | Computes the cumulative distribution function (CDF).
|
| |
| double | quantile (const double &p) const |
| | Computes the quantile function (inverse CDF).
|
| |
| double | sample (std::default_random_engine &rng) |
| | Draws a single pseudo-random sample from the distribution.
|
| |
|
| double | mean_ {0.0} |
| | Log-mean parameter.
|
| |
| double | std_ {1.0} |
| | Log-standard deviation parameter.
|
| |
| std::normal_distribution< double > | distN_ |
| | Normal distribution generator helper.
|
| |
◆ LogNormalDistribution() [1/2]
| cmp::distribution::LogNormalDistribution::LogNormalDistribution |
( |
double |
mu, |
|
|
double |
sigma |
|
) |
| |
|
inline |
◆ LogNormalDistribution() [2/2]
| cmp::distribution::LogNormalDistribution::LogNormalDistribution |
( |
| ) |
|
|
default |
◆ CDF()
| double cmp::distribution::LogNormalDistribution::CDF |
( |
const double & |
x | ) |
const |
|
inline |
◆ ddLogPDF()
| double cmp::distribution::LogNormalDistribution::ddLogPDF |
( |
const double & |
x | ) |
const |
|
inline |
◆ dLogPDF()
| double cmp::distribution::LogNormalDistribution::dLogPDF |
( |
const double & |
x | ) |
const |
|
inline |
◆ logPDF()
| double cmp::distribution::LogNormalDistribution::logPDF |
( |
const double & |
x | ) |
const |
|
inline |
◆ quantile()
| double cmp::distribution::LogNormalDistribution::quantile |
( |
const double & |
p | ) |
const |
|
inline |
◆ sample()
| double cmp::distribution::LogNormalDistribution::sample |
( |
std::default_random_engine & |
rng | ) |
|
|
inline |
◆ setMean()
| void cmp::distribution::LogNormalDistribution::setMean |
( |
double |
mu | ) |
|
|
inline |
◆ setStd()
| void cmp::distribution::LogNormalDistribution::setStd |
( |
double |
sigma | ) |
|
|
inline |
◆ distN_
| std::normal_distribution<double> cmp::distribution::LogNormalDistribution::distN_ |
|
private |
Normal distribution generator helper.
◆ mean_
| double cmp::distribution::LogNormalDistribution::mean_ {0.0} |
|
private |
◆ std_
| double cmp::distribution::LogNormalDistribution::std_ {1.0} |
|
private |
Log-standard deviation parameter.
The documentation for this class was generated from the following file: