double rayleighv(double p, double s);
Returns the critical point of the Rayleigh random variable distribution function with scale parameter s associated with probability p.
Parameters:
p | Cummulative probability for the critical point. |
---|---|
s | Scale parameter. |
Returns:
x such that P(X ≤ x | s) = p
Errors:
NUMERICS_ERROR
is raised if s ≤ 0, p ≤ 0, or p ≥ 1
Usage:
double x = rayleighv(.5, 1.5)
Header:
#include "contdist.h"