The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Erf


Unit:SDL_statis
Class: none
Declaration: function Erf (x: double): double;

The function Erf returns the error function (which is a special case of the incomplete gamma function). The error function is defined as follows:

Hint 1: The complementary error function (often denoted as erfc) can be easily calculated from Erf: erfc(x) = 1-Erf(x).

Hint 2: A faster routine to calculate the error function is ErfApprox.



Last Update: 2012-Oct-20