Computes the error function, or its inverse, based on the normal distribution. Also computes the complement of the error function, or its inverse,
Logical. Of length 1.
Erf(x) is defined as
Erf(x) = (2/sqrt(pi)) int_0^x exp(-t^2) dt
so that it is closely related to
The inverse function is defined for x in (-1,1).
Returns the value of the function evaluated at
Some authors omit the term 2/sqrt(pi) from the definition of Erf(x). Although defined for complex arguments, this function only works for real arguments.
The complementary error function erfc(x) is defined
as 1-erf(x), and is implemented by
Its inverse function is defined for x in (0,2).
T. W. Yee
Abramowitz, M. and Stegun, I. A. (1972). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, New York: Dover Publications Inc.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.