cauchyv

double cauchyv(double p, double m, double s);

Returns the critical point of the Cauchy random variable distribution function with median m and scale parameter s associated with probability p.

Parameters:
pCummulative probability for the critical point.
mLocation parameter.
sShape parameter.

Returns:
x such that P(X ≤ x | m, s) = p

Errors:
NUMERICS_ERROR is raised if s ≤ 0, p ≤ 0, or p ≥ 1

Usage:
double x = cauchyv(.5, 1.5, 2.75)

Header:
#include "contdist.h"