[Numpy-discussion] performance issue (again)
Mathew Yeates
myeates@jpl.nasa....
Wed Apr 22 10:48:36 CDT 2009
well, this isn't a perfect solution. polyfit is better because it
determines rank based on condition values. Finds the eigenvalues ...
etc. But, unless it can vectorized without Python looping, it's too slow
for me to use
Mathew
josef.pktd@gmail.com wrote:
>
>
>
> If you remove the mean from x and y (along axis = 1) then can't you
> just do something like
>
> (x*y).sum(1) / (x*x).sum(axis=1)
>
>
>
> I think that's what I said 8 days ago.
>
> Josef
>
More information about the Numpy-discussion
mailing list