[Numpy-discussion] re carray from list of lists

2012-10-22 Thread maschu
Dear all, I am new to this list and still consider myself a python newby even though I have worked with it for almost two years now. My question may be a bit academic (because there is numpy.genfromtext and matplotlib.mlab.csv2rec), yet it caused me quite a bit of searching before I found out

Re: [Numpy-discussion] Issue tracking

2012-10-22 Thread Thouis (Ray) Jones
On Fri, Oct 19, 2012 at 9:34 PM, Thouis (Ray) Jones wrote: > On Fri, Oct 19, 2012 at 4:46 PM, Thouis (Ray) Jones wrote: >> On Fri, Oct 19, 2012 at 11:20 AM, Thouis (Ray) Jones >> wrote: >>> I started the import with the oldest 75 and newest 125 Trac issues, >>> and will wait a few hours to do t

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Daπid
In this case, I would say a note in the documentation would be in order, remarking the fact that this default is not what other packages take as default. On Mon, Oct 22, 2012 at 10:16 PM, Jason Grout wrote: > On 10/22/12 3:08 PM, Robert Kern wrote: >> >> http://mail.scipy.org/pipermail/numpy-disc

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Jason Grout
On 10/22/12 3:08 PM, Robert Kern wrote: > > http://mail.scipy.org/pipermail/numpy-discussion/2006-March/019194.html > Ah, so it was basically speed that was the issue. I won't push this further. I'll just note that I was confused for a bit, and I probably won't be the last person confused about

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Jason Grout
On 10/22/12 3:03 PM, Pauli Virtanen wrote: > Jason Grout creativetrax.com> writes: > [clip] >> I think we've established that the other software mentioned does indeed >> use the spectral norm by default. I'm still curious: what was the >> reason for breaking with the norm (pun intended :)? Any c

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Robert Kern
On Mon, Oct 22, 2012 at 9:03 PM, Pauli Virtanen wrote: > Jason Grout creativetrax.com> writes: > [clip] >> I think we've established that the other software mentioned does indeed >> use the spectral norm by default. I'm still curious: what was the >> reason for breaking with the norm (pun intend

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Pauli Virtanen
Jason Grout creativetrax.com> writes: [clip] > I think we've established that the other software mentioned does indeed > use the spectral norm by default. I'm still curious: what was the > reason for breaking with the norm (pun intended :)? Any chance that in > a (probably far distant) future

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Jason Grout
On 10/22/12 10:44 AM, Jason Grout wrote: > I'm curious why scipy/numpy defaults to calculating the Frobenius norm > for matrices [1], when Matlab, Octave, and Mathematica all default to > calculating the induced 2-norm [2]. Is it solely because the Frobenius > norm is easier to calculate, or is th

Re: [Numpy-discussion] Announcing Anaconda version 1.1

2012-10-22 Thread Paul Hobson
Sorry for the noise. Using curl to directly grab the file (instead of copying from another machine) does the trick. -paul On Mon, Oct 22, 2012 at 9:50 AM, Paul Hobson wrote: > On Fri, Oct 19, 2012 at 9:10 AM, Travis Oliphant wrote: >> I just wanted to let everyone know about our new release of A

Re: [Numpy-discussion] Announcing Anaconda version 1.1

2012-10-22 Thread Paul Hobson
On Fri, Oct 19, 2012 at 9:10 AM, Travis Oliphant wrote: > I just wanted to let everyone know about our new release of Anaconda which > now has Spyder and Matplotlib working for Mac OS X and Windows. > > [snip] > For more information, to download a trial version of Anaconda Pro, or > download the c

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Inati, Souheil (NIH/NIMH) [E]
matlab default is the 2-norm. norm(X) is equivalent to norm(X,2) norm(X,'fro') is the frobenius norm. There are others and some special cases for vectors. http://www.mathworks.com/help/matlab/ref/norm.html On Oct 22, 2012, at 12:14 PM, Jason Grout wrote: > On 10/22/12 11:08 AM, Charles R Harris

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Jason Grout
On 10/22/12 11:08 AM, Charles R Harris wrote: > > The 2-norm and the Frobenius norm are the same thing. For vectors, but I was talking about matrices and induced p-norms (sorry for not being clear). Warren pointed out that the spectral norm (the induced 2-norm) is used in Octave as the default

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Warren Weckesser
On Mon, Oct 22, 2012 at 10:56 AM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Mon, Oct 22, 2012 at 9:44 AM, Jason Grout > wrote: > >> I'm curious why scipy/numpy defaults to calculating the Frobenius norm >> for matrices [1], when Matlab, Octave, and Mathematica all default to >

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Charles R Harris
On Mon, Oct 22, 2012 at 10:00 AM, Jason Grout wrote: > On 10/22/12 10:56 AM, Charles R Harris wrote: > > > > > > On Mon, Oct 22, 2012 at 9:44 AM, Jason Grout > > mailto:jason-s...@creativetrax.com>> > wrote: > > > > I'm curious why scipy/numpy defaults to calculating the Frobenius > norm > >

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Jason Grout
On 10/22/12 10:56 AM, Charles R Harris wrote: > > > On Mon, Oct 22, 2012 at 9:44 AM, Jason Grout > mailto:jason-s...@creativetrax.com>> wrote: > > I'm curious why scipy/numpy defaults to calculating the Frobenius norm > for matrices [1], when Matlab, Octave, and Mathematica all default to >

Re: [Numpy-discussion] matrix norm

2012-10-22 Thread Charles R Harris
On Mon, Oct 22, 2012 at 9:44 AM, Jason Grout wrote: > I'm curious why scipy/numpy defaults to calculating the Frobenius norm > for matrices [1], when Matlab, Octave, and Mathematica all default to > calculating the induced 2-norm [2]. Is it solely because the Frobenius > norm is easier to calcula

[Numpy-discussion] matrix norm

2012-10-22 Thread Jason Grout
I'm curious why scipy/numpy defaults to calculating the Frobenius norm for matrices [1], when Matlab, Octave, and Mathematica all default to calculating the induced 2-norm [2]. Is it solely because the Frobenius norm is easier to calculate, or is there some other good mathematical reason for d