pylab, integral of sinc function
Paul Rubin
http
Mon Feb 19 20:47:08 EST 2007
More information about the Python-list mailing list
Mon Feb 19 20:47:08 EST 2007
- Previous message (by thread): pylab, integral of sinc function
- Next message (by thread): pylab, integral of sinc function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Schüle Daniel <uval at rz.uni-karlsruhe.de> writes: > In [19]: def simple_integral(func,a,b,dx = 0.001): > ....: return sum(map(lambda x:dx*x, func(arange(a,b,dx)))) Do you mean def simple_integral(func,a,b,dx = 0.001): return dx * sum(map(func, arange(a,b,dx)))
- Previous message (by thread): pylab, integral of sinc function
- Next message (by thread): pylab, integral of sinc function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list