SG++-Doxygen-Documentation
|
This provides an implementation of the standradized normal distribution. More...
#include <StdNormalDistribution.hpp>
Public Member Functions | |
double | getCumulativeDensity (const double x) |
Calculates the Cumulative Density values of the standard normal distribution (expected values = 0.0, standard deviation = 1.0) More... | |
double | getDensity (const double x) |
double | getDensity (const double x, const double mu, const double sigma) |
double | getNormedDensity (const double x, const double mu, const double sigma) |
StdNormalDistribution () | |
Std-Constructor. More... | |
~StdNormalDistribution () | |
Std-Destructor. More... | |
This provides an implementation of the standradized normal distribution.
Also a density function for the normal distribution is provided!
sgpp::base::StdNormalDistribution::StdNormalDistribution | ( | ) |
Std-Constructor.
sgpp::base::StdNormalDistribution::~StdNormalDistribution | ( | ) |
Std-Destructor.
double sgpp::base::StdNormalDistribution::getCumulativeDensity | ( | const double | x | ) |
Calculates the Cumulative Density values of the standard normal distribution (expected values = 0.0, standard deviation = 1.0)
taken from http://www.richelbilderbeek.nl/CppGetCumulativeDensityNormal.htm
x | the value for which the cumulative density value should be calculated |
double sgpp::base::StdNormalDistribution::getDensity | ( | const double | x | ) |
References M_PI, and python.datasetAnalysis::mean.
Referenced by sgpp::pde::PDESolver::getGridNormalDistribution().
double sgpp::base::StdNormalDistribution::getDensity | ( | const double | x, |
const double | mu, | ||
const double | sigma | ||
) |
References M_PI, python.datasetAnalysis::mean, and mu.
double sgpp::base::StdNormalDistribution::getNormedDensity | ( | const double | x, |
const double | mu, | ||
const double | sigma | ||
) |
References python.datasetAnalysis::mean, and mu.