I'd rather say "arbitrary".

On 1/29/08, Neal Becker <ndbecker2@gmail.com> wrote:
lorenzo bolla wrote:

> I noticed that:
>
> min([1+1j,-1+3j])
>
> gives 1+1j in matlab (where for complex, min(abs) is used)
> but gives -1+3j in numpy (where lexicographic order is used)
>
> shouldn't this be mentioned somewhere in "Numpy for Matlab users" webpage?
>

It should be stated that they're both wrong.

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion



--
Lorenzo Bolla
lbolla@gmail.com
http://lorenzobolla.emurse.com/