Lanczos approximation: Difference between revisions

Content deleted Content added
No edit summary
Smurfix (talk | contribs)
m Simple implementation: Correct "withinepsilon" so that it actually makes sense
Line 58:
epsilon = 0.0000001
def withinepsilon(x):
return abs(x - abs(x)) <= epsilon
 
from cmath import sin,sqrt,pi,exp