Lanczos approximation: Difference between revisions

Content deleted Content added
perhaps this is a better wording
Error for python implementation significantly overstated accuracy (especially for values greater than 30)
Line 47:
 
==Simple implementation==
The following implementation in the [[Python (programming language)|Python programming language]] works for complex arguments and typically gives 1513 correct decimal places.
Note that omitting the smallest coefficients (in pursuit of speed, for example) gives totally inaccurate results; the coefficients must be recomputed from scratch for an expansion with fewer terms.