double rayleighp(double x, double s);
Returns the value of the Rayleigh random variable distribution function with scale parameter s at the value x.
Parameters:
| x | Critical point. |
|---|---|
| s | Scale parameter. |
Returns:
P(X ≤ x | s)
Errors:
NUMERICS_ERROR is raised if s ≤ 0
Usage:
double p = rayleighp(.5, 1.5)
Header:
#include "contdist.h"