[SciPy-User] Order of numpy orperations is not equal to logic (and also octave)?

eat e.antero.tammi@gmail....
Sun Oct 31 05:18:14 CDT 2010


>Oz Nahum Tiram <nahumoz <at> gmail.com> writes:
<snip> 
>octave:9> s=sum(abs(a-b)/a)
Hi,

Please note that / is not an element-wise operator in Octave. Rather it 
is "right division" like (pinv(a')* abs(a- b)')'. Octaves element-wise 
operator ./ may agree with numpy.

Regards,
eat



More information about the SciPy-User mailing list