Re: [Numpy-discussion] How to solve homogeneous linear equations with NumPy?

2009-12-05 Thread Alan G Isaac
On 12/3/2009 12:40 AM, Peter Cai wrote: > If I have homogeneous linear equations like this > > array([[-0.75, 0.25, 0.25, 0.25], > [ 1. , -1. , 0. , 0. ], > [ 1. , 0. , -1. , 0. ], > [ 1. , 0. , 0. , -1. ]]) > > And I want to get a non-zero solution for

Re: [Numpy-discussion] Py3 merge

2009-12-05 Thread David Cournapeau
On Sun, Dec 6, 2009 at 9:41 AM, Pauli Virtanen wrote: > Hi, > > I'd like to commit my Py3 Numpy branch to SVN trunk soon: > >        http://github.com/pv/numpy-work/commits/py3k Awesome - I think we should merge this ASAP. In particular, I would like to start fixing platforms-specific issues. Co

Re: [Numpy-discussion] Py3 merge

2009-12-05 Thread Charles R Harris
On Sat, Dec 5, 2009 at 7:18 PM, Charles R Harris wrote: > > > On Sat, Dec 5, 2009 at 5:41 PM, Pauli Virtanen wrote: > >> Hi, >> >> I'd like to commit my Py3 Numpy branch to SVN trunk soon: >> >>http://github.com/pv/numpy-work/commits/py3k >> >> For an overview, check the notes: >> >>

Re: [Numpy-discussion] Py3 merge

2009-12-05 Thread Charles R Harris
On Sat, Dec 5, 2009 at 5:41 PM, Pauli Virtanen wrote: > Hi, > > I'd like to commit my Py3 Numpy branch to SVN trunk soon: > >http://github.com/pv/numpy-work/commits/py3k > > For an overview, check the notes: > >http://github.com/pv/numpy-work/blob/py3k/doc/Py3K.txt > > That's a ni

Re: [Numpy-discussion] another numpy/ATLAS problem

2009-12-05 Thread Pauli Virtanen
la, 2009-12-05 kello 20:27 -0500, David Warde-Farley kirjoitti: [clip] > I've briefly been trying to figure out how to work around this, but > I'm a bit confused. I was under the (mistaken?) impression that the > f2c'd code in dlapack_lite.c, zlapack_lite.c and dlamch.c was only > used in the

Re: [Numpy-discussion] another numpy/ATLAS problem

2009-12-05 Thread David Warde-Farley
On 29-Nov-09, at 4:46 PM, David Warde-Farley wrote: > On 27-Nov-09, at 6:29 PM, Charles R Harris wrote: > >> 3.9.12 segfaulted on me while running, so I haven't bothered with >> versions after that. Why not try the stable version 3.8.3? > > Just to follow up, I went back to 3.9.11 and numpy works

[Numpy-discussion] Py3 merge

2009-12-05 Thread Pauli Virtanen
Hi, I'd like to commit my Py3 Numpy branch to SVN trunk soon: http://github.com/pv/numpy-work/commits/py3k For an overview, check the notes: http://github.com/pv/numpy-work/blob/py3k/doc/Py3K.txt None of the changes should affect behavior on Py2. The test status currently is:

Re: [Numpy-discussion] non-standard standard deviation

2009-12-05 Thread Sturla Molden
Colin J. Williams skrev: > > suggested that 1 (one) would be a better default but Robert Kern told > us that it won't happen. > > I don't even see the need for this keyword argument, as you can always multiply the variance by n/(n-1) to get what you want. Also, normalization by n gives th

Re: [Numpy-discussion] Numpy/Scipy for EC2

2009-12-05 Thread David Goldsmith
On Sat, Dec 5, 2009 at 9:03 AM, Dan Yamins wrote: > > > On Sat, Dec 5, 2009 at 1:32 AM, David Goldsmith > wrote: > >> Dan- >> >> I almost hate to ask - after what you've already provided, which is >> substantial: did you ever try out what alestic had to offer? If not, I may >> be that guine

Re: [Numpy-discussion] non-standard standard deviation

2009-12-05 Thread Colin J. Williams
On 04-Dec-09 07:18 AM, yogesh karpate wrote: > @ Pauli and @ Colin: > Sorry for the late reply. I was busy > in some other assignments. > # As far as normalization by(n) is concerned then its common > assumption that the population is normally distributed and

Re: [Numpy-discussion] non-standard standard deviation

2009-12-05 Thread Colin J. Williams
On 04-Dec-09 05:21 AM, Pauli Virtanen wrote: > pe, 2009-12-04 kello 11:19 +0100, Chris Colbert kirjoitti: > >> Why cant the divisor constant just be made an optional kwarg that >> defaults to zero? >> > It already is an optional kwarg that defaults to zero. > > Cheers, > I suggested

Re: [Numpy-discussion] Numpy/Scipy for EC2

2009-12-05 Thread Dan Yamins
On Sat, Dec 5, 2009 at 1:32 AM, David Goldsmith wrote: > Dan- > > I almost hate to ask - after what you've already provided, which is > substantial: did you ever try out what alestic had to offer? If not, I may > be that guinea pig. ;-) > > David -- I'm posting my response to your question to

Re: [Numpy-discussion] Applying Patch #1085

2009-12-05 Thread Charles R Harris
On Sat, Dec 5, 2009 at 12:12 AM, Travis Oliphant wrote: > > On Dec 4, 2009, at 10:09 AM, Charles R Harris wrote: > > > > On Fri, Dec 4, 2009 at 6:29 AM, Travis Oliphant wrote: > >> >> What do people think of applying patch #1085. This patch makes a copy of >> inputs when the input and output vie

Re: [Numpy-discussion] Bytes vs. Unicode in Python3

2009-12-05 Thread David Cournapeau
On Sat, Dec 5, 2009 at 7:16 PM, Dag Sverre Seljebotn wrote: >> Perhaps this should be marked as a bug?  I'm not sure about that, because the >> above seems quite useful. > > Well, I for one don't like this, but that's just an opinion. I think it > is unwise to leave object which supports hash() m

[Numpy-discussion] ANN: upfirdn 0.1.0

2009-12-05 Thread Tom K.
(also posted on scipy-user) ANNOUNCEMENT I am pleased to announce the initial release of "upfirdn." This package provides an efficient polyphase FIR resampler object (SWIG-ed C++) and some python wrappers. https://opensource.motorola.com/sf/projects/upfirdn MOTIVATION As a long time us

Re: [Numpy-discussion] Bytes vs. Unicode in Python3

2009-12-05 Thread Dag Sverre Seljebotn
Francesc Alted wrote: > A Thursday 03 December 2009 14:56:16 Dag Sverre Seljebotn escrigué: >> Pauli Virtanen wrote: >>> Thu, 03 Dec 2009 14:03:13 +0100, Dag Sverre Seljebotn wrote: >>> [clip] >>> Great! Are you storing the format string in the dtype types as well? (So that no release is