ADDM.cpp
Loading...
Searching...
No Matches
stats.h File Reference
#include <boost/math/distributions/normal.hpp>
Include dependency graph for stats.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double probabilityDensityFunction (float mean, float sigma, float x)
 Compute the probability density function provided mean and standard deviation.
 
double cumulativeDensityFunction (float mean, float sigma, float x)
 Compute the cumulative density function provided mean and standard deviation.
 

Function Documentation

◆ cumulativeDensityFunction()

double cumulativeDensityFunction ( float mean,
float sigma,
float x )
inline

Compute the cumulative density function provided mean and standard deviation.

Parameters
meanMean of the distribution.
sigmaStandard deviation of the distribution.
xValue to compute the CDF at.
Returns
double containing the computed CDF.

◆ probabilityDensityFunction()

double probabilityDensityFunction ( float mean,
float sigma,
float x )
inline

Compute the probability density function provided mean and standard deviation.

Parameters
meanMean of the distribution.
sigmaStandard Deviation of the distribution.
xValue to compute the PDF at.
Returns
double containing the computed PDF.