Re: numpy performance and list comprehension

2007-04-03 Thread Robert Kern
TG wrote: > Hi there. > > Reading the page on python performance ( http://scipy.org/PerformancePython > ) made me realize that I can achieve tremendous code acceleration with > numpy just by using "u[:,:]" kind of syntax the clever way. > > Here is a little problem (Oja's rule of synaptic plastic

Re: numpy performance and list comprehension

2007-04-03 Thread irstas
On Apr 3, 5:42 pm, "TG" <[EMAIL PROTECTED]> wrote: > Hi there. > > Reading the page on python performance (http://scipy.org/PerformancePython > ) made me realize that I can achieve tremendous code acceleration with > numpy just by using "u[:,:]" kind of syntax the clever way. > > Here is a little p