Issue #26114: Remove mention of 'Numerical Recipes'.

This commit is contained in:
Brett Cannon 2016-01-15 09:41:49 -08:00
parent 1826f6369c
commit c39162de4a
1 changed files with 2 additions and 3 deletions

View File

@ -379,9 +379,8 @@ m_lgamma(double x)
Implementations of the error function erf(x) and the complementary error
function erfc(x).
Method: following 'Numerical Recipes' by Flannery, Press et. al. (2nd ed.,
Cambridge University Press), we use a series approximation for erf for
small x, and a continued fraction approximation for erfc(x) for larger x;
Method: we use a series approximation for erf for small x, and a continued
fraction approximation for erfc(x) for larger x;
combined with the relations erf(-x) = -erf(x) and erfc(x) = 1.0 - erf(x),
this gives us erf(x) and erfc(x) for all x.