double normalp(double x, double m, double v);
Returns the value of the Normal random variable distribution function with mean m and variance v at the value x.
Parameters:
x | Critical point. |
---|---|
m | Mean |
v | Variance |
Returns:
P(X ≤ x | m, v)
Errors:
NUMERICS_ERROR
is raised if v ≤ 0
Usage:
double p = normalp(.5, 1.5, 2.75)
Header:
#include "normdist.h"