Lanczos approximation: Difference between revisions

Content deleted Content added
Fixed a misconception in the comment code. I apologise if it comes off passive-agressive
Line 81:
return drop_imag(y)
"""
The above use of the reflection (thus the if-else structure) seemsis necessary, as it allows to extend unnecessary
the approximation to values of z where Re(z) < 0.5, where the Lanczos is not valid. Nevertheless,
and just adds more code to execute. It calls itself again, so it still needs
the mini-recursion is a bit ugly.
to execute the same "for" loop yet has an extra calculation at the end)
"""