Stochastic Loading Module
|
#include <students_t_dist.h>
Public Member Functions | |
StudentstDistribution ()=delete | |
StudentstDistribution (double mean, double scale, double dof) | |
virtual | ~StudentstDistribution () |
std::string | name () const override |
std::vector< double > | cumulative_dist_func (const std::vector< double > &locations) const override |
std::vector< double > | inv_cumulative_dist_func (const std::vector< double > &probabilities) const override |
Public Member Functions inherited from stochastic::Distribution | |
Distribution ()=default | |
virtual | ~Distribution () |
Distribution (const Distribution &)=delete | |
Distribution & | operator= (const Distribution &)=delete |
Protected Attributes | |
double | mean_ |
double | std_dev_ |
double | dof_ |
boost::math::students_t | distribution_ |
Student's t distribution
Definition at line 13 of file students_t_dist.h.
|
delete |
Delete default constructor
stochastic::StudentstDistribution::StudentstDistribution | ( | double | mean, |
double | scale, | ||
double | dof | ||
) |
Construct Student's t distribution with specified mean, standard deviation and degrees of freedom
[in] | mean | Mean of distribution |
[in] | std_dev | Standard deviation of distribution |
[in] | dof | Degrees of freedom of distribution |
Definition at line 5 of file students_t_dist.cc.
|
inlinevirtual |
Virtual destructor
Definition at line 32 of file students_t_dist.h.
|
overridevirtual |
Compute the cumulative distribution function (CDF) of the distribution at specified input locations
[in] | locations | Vector containing locations at which to calculate CDF |
Implements stochastic::Distribution.
Definition at line 15 of file students_t_dist.cc.
|
overridevirtual |
Compute the inverse cumulative distribution function (ICDF) of the distribution at specified input locations
[in] | probabilities | Vector containing probabilities at which to calculate ICDF |
Implements stochastic::Distribution.
Definition at line 26 of file students_t_dist.cc.
|
inlineoverridevirtual |
Get the name of the distribution model
Implements stochastic::Distribution.
Definition at line 38 of file students_t_dist.h.
|
protected |
Student's t distribution
Definition at line 64 of file students_t_dist.h.
|
protected |
Degrees of freedom
Definition at line 63 of file students_t_dist.h.
|
protected |
Distribution mean
Definition at line 61 of file students_t_dist.h.
|
protected |
Distribution standard deviation
Definition at line 62 of file students_t_dist.h.