Stochastic Loading Module
|
#include <inv_gauss_dist.h>
Public Member Functions | |
InverseGaussianDistribution ()=delete | |
InverseGaussianDistribution (double mean, double scale) | |
virtual | ~InverseGaussianDistribution () |
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_ |
boost::math::inverse_gaussian | distribution_ |
Inverse Gaussian distribution
Definition at line 13 of file inv_gauss_dist.h.
|
delete |
Delete default constructor
stochastic::InverseGaussianDistribution::InverseGaussianDistribution | ( | double | mean, |
double | scale | ||
) |
Construct inverse Gaussian distribution with specified mean and standard deviation
[in] | mean | Mean of distribution |
[in] | scale | Scale parameter of distribution |
Definition at line 5 of file inv_gauss_dist.cc.
|
inlinevirtual |
Virtual destructor
Definition at line 31 of file inv_gauss_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 14 of file inv_gauss_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 inv_gauss_dist.cc.
|
inlineoverridevirtual |
Get the name of the distribution model
Implements stochastic::Distribution.
Definition at line 37 of file inv_gauss_dist.h.
|
protected |
Inverse Gaussian distribution
Definition at line 62 of file inv_gauss_dist.h.
|
protected |
Distribution mean
Definition at line 60 of file inv_gauss_dist.h.
|
protected |
Distribution standard deviation
Definition at line 61 of file inv_gauss_dist.h.