Re: [Numpy-discussion] problem with vectorized difference equation

2012-04-07 Thread eat
Hi, On Sat, Apr 7, 2012 at 1:27 AM, Sameer Grover wrote: > On Saturday 07 April 2012 02:51 AM, Francesco Barale wrote: > > Hello Sameer, > > > > Thank you very much for your reply. My goal was to try to speed up the > loop > > describing the accumulator. In the (excellent) book I was mentioning i

Re: [Numpy-discussion] problem with vectorized difference equation

2012-04-06 Thread Francesco Barale
Now I am clear. I guess the vectorized notation speeds up difference equations describing FIR structures, whereas IIR ones won't benefit. Francesco Barale wrote: > > Hello everyone, > > After reading the very good post > http://technicaldiscovery.blogspot.com/2011/06/speeding-up-python-numpy-cy

Re: [Numpy-discussion] problem with vectorized difference equation

2012-04-06 Thread Sameer Grover
On Saturday 07 April 2012 02:51 AM, Francesco Barale wrote: > Hello Sameer, > > Thank you very much for your reply. My goal was to try to speed up the loop > describing the accumulator. In the (excellent) book I was mentioning in my > initial post I could find one example that seemed to match what

Re: [Numpy-discussion] problem with vectorized difference equation

2012-04-06 Thread Francesco Barale
Hello Sameer, Thank you very much for your reply. My goal was to try to speed up the loop describing the accumulator. In the (excellent) book I was mentioning in my initial post I could find one example that seemed to match what I was trying to do. Basically, it is said that a loop of the followi

Re: [Numpy-discussion] problem with vectorized difference equation

2012-04-06 Thread Sameer Grover
On Saturday 07 April 2012 12:14 AM, francesco82 wrote: Hello everyone, After reading the very good post http://technicaldiscovery.blogspot.com/2011/06/speeding-up-python-numpy-cython-and.html and the book by H. P. Langtangen 'Python scripting for computational science' I was trying to speed up t

[Numpy-discussion] problem with vectorized difference equation

2012-04-06 Thread francesco82
Hello everyone, After reading the very good post http://technicaldiscovery.blogspot.com/2011/06/speeding-up-python-numpy-cython-and.html and the book by H. P. Langtangen 'Python scripting for computational science' I was trying to speed up the execution of a loop on numpy arrays being used to des