XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ erfci()

double erfci ( double  q)

Complementary error function erf(x) inverse

Purpose
erfci returns a value x such that q = erfc(x), where q is the specified value of the complementary error function.
Returns
Value of x.
Parameters
[in]qArgument q. (0 < q < 2)
Error handling
  • If q < 0 or q > 2, domain error (EDOM) occurs.
  • If q = 0, inf is returned and range error (ERANGE) occurs.
  • If q = 2, -inf is returned and range error (ERANGE) occurs.
  • Other range error (ERANGE) may occur.
Reference
boost/math/special_functions