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

[email protected] 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
>

_______________________________________________
Numpy-discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to