datatable.math.erfc()¶
Complementary error function erfc(x) = 1 - erf(x)
.
The complementary error function is defined as the integral
\[\operatorname{erfc}(x) = \frac{2}{\sqrt{\tau}} \int^{\infty}_{x/\sqrt{2}} e^{-\frac12 t^2}dt\]
Although mathematically erfc(x) = 1-erf(x)
, in practice the RHS
suffers catastrophic loss of precision at large values of x
. This
function, however, does not have such a drawback.
See also¶
erf(x)
– the error function.
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0) ,
and code samples are licensed under the MIT License.