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

eat e.antero.tammi at gmail.com
Sun Oct 31 06:18:14 EDT 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