#include <boost/math/distributions/normal.hpp>
Go to the source code of this file.
|
| 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.
|
| |
◆ cumulativeDensityFunction()
| double cumulativeDensityFunction |
( |
float | mean, |
|
|
float | sigma, |
|
|
float | x ) |
|
inline |
Compute the cumulative density function provided mean and standard deviation.
- Parameters
-
| mean | Mean of the distribution. |
| sigma | Standard deviation of the distribution. |
| x | Value 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
-
| mean | Mean of the distribution. |
| sigma | Standard Deviation of the distribution. |
| x | Value to compute the PDF at. |
- Returns
- double containing the computed PDF.