XLPack 6.1
C/C++ API Reference Manual
Loading...
Searching...
No Matches

◆ _erfi()

double _erfi ( double  p)

Error function erf(x) inverse

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