[Numpy-discussion] difference numpy/matlab

lorenzo bolla lbolla@gmail....
Tue Jan 29 10:00:49 CST 2008


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080129/d9f70244/attachment.html 


More information about the Numpy-discussion mailing list