[Numpy-discussion] Mag Gam

2013-07-20 Thread Mag Gam
http://houtwormbestrijding-houtwormbestrijding.nl/mlwoeh/ibivodpmj.ikuklorzxzgycwtj Mag Gam 7/21/2013 7:24:11 AM ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] subtypes of ndarray and round()

2013-07-20 Thread Matti Picus
On 20/07/2013 8:00 PM, numpy-discussion-requ...@scipy.org wrote: Date: Sat, 20 Jul 2013 12:58:08 +0200 From: Ralf Gommers Subject: Re: [Numpy-discussion] subtypes of ndarray and round() To: Discussion of Numerical Python Message-ID: Content-Type: text/plain; charset="iso-8

Re: [Numpy-discussion] add .H attribute?

2013-07-20 Thread Ralf Gommers
On Sat, Jul 20, 2013 at 3:30 PM, Sebastian Haase wrote: > On Sat, Jul 20, 2013 at 12:36 PM, Ralf Gommers > wrote: > > > > > > > > > > On Thu, Jul 18, 2013 at 4:18 PM, Stéfan van der Walt > wrote: > >> > >> On Sat, Jul 13, 2013 at 7:46 PM, Nathaniel Smith wrote: > >> > Why not just write > >> >

Re: [Numpy-discussion] add .H attribute?

2013-07-20 Thread Sebastian Haase
On Sat, Jul 20, 2013 at 12:36 PM, Ralf Gommers wrote: > > > > > On Thu, Jul 18, 2013 at 4:18 PM, Stéfan van der Walt wrote: >> >> On Sat, Jul 13, 2013 at 7:46 PM, Nathaniel Smith wrote: >> > Why not just write >> > >> > def H(a): >> > return a.conj().T >> >> It's hard to convince students th

Re: [Numpy-discussion] fresh performance hits: numpy.linalg.pinv >30% slowdown

2013-07-20 Thread Pauli Virtanen
20.07.2013 01:38, Nathaniel Smith kirjoitti: > The biggest ~recent change in master's linalg was the switch to gufunc > back ends - you might want to check for that event in your commit log. That was in mid-April, which doesn't match with the location of the uptick in the graph. Pauli

Re: [Numpy-discussion] subtypes of ndarray and round()

2013-07-20 Thread Ralf Gommers
On Thu, Jul 4, 2013 at 9:43 PM, Matti Picus wrote: > round() does not consistently preserve subtype of the ndarray, > is this known behaviour or should I file a bug for it? > That looks like a bug to me. The docstring explicitly says that return type equals input type. Ralf > Python 2.7.3 (d

Re: [Numpy-discussion] add .H attribute?

2013-07-20 Thread Ralf Gommers
On Thu, Jul 18, 2013 at 4:18 PM, Stéfan van der Walt wrote: > On Sat, Jul 13, 2013 at 7:46 PM, Nathaniel Smith wrote: > > Why not just write > > > > def H(a): > > return a.conj().T > > It's hard to convince students that this is the Best Way of doing > things in NumPy. Why, they ask, can you