cauchyp

double cauchyp(double x, double m, double s);

Returns the value of the Cauchy random variable distribution function with median m and scale parameter s at the value x.

Parameters:
xCritical point.
mLocation parameter.
sShape parameter.

Returns:
P(X ≤ x | m, s)

Errors:
NUMERICS_ERROR is raised if s ≤ 0

Usage:
double p = cauchyp(.5, 1.5, 2.75)

Header:
#include "contdist.h"