Lines Matching refs:erf
1 [section:error_function Error Function erf and complement erfc]
6 #include <boost/math/special_functions/erf.hpp>
12 ``__sf_result`` erf(T z);
15 ``__sf_result`` erf(T z, const ``__Policy``&);
33 ``__sf_result`` erf(T z);
36 ``__sf_result`` erf(T z, const ``__Policy``&);
39 [@http://functions.wolfram.com/GammaBetaErf/Erf/ erf] of z:
43 [graph erf]
95 [expression ['erf(-z) = 1 - erf(z);] ]
99 [expression ['erfc(-z) = 1 + erf(z);] // preferred when -0.5 <= -z < 0]
108 For `z <= 0.5` then a rational approximation to erf is used, based on the
109 observation that erf is an odd function and therefore erf is calculated using:
111 [expression ['erf(z) = z * (C + R(z*z));]]
116 disappear from the result. As a result the error for erf and erfc in this
143 [endsect] [/section:error_function Error Function erf and complement erfc]