erfinv
erfinv(y)
Input: y · Output: no output
What it is
Inverse error function, elementwise: erf(erfinv(y)) = y for y in [-1, 1], with erfinv(1) = inf and erfinv(-1) = -inf. y is a real scalar, Vec, Mat or Signal. A rational starting guess refined by Halley steps on erf itself, so it is as accurate as erf is (about 1e-15 relative, also for tiny y, where erfinv(1e-10) keeps all its digits). Out-of-domain (|y| > 1) or NaN elements give NaN; complex input is an error. For y extremely close to 1, pass the small quantity 1 - y to erfcinv instead.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
erfinv(y) | y scalar, Vec, Mat, or Signalnot documented yet | not documented yet | — |
Examples
No documentation example calls this form yet. The Core maths chapter is where one belongs.