Re: [Numpy-discussion] filling an alice of array of object with a reference to an object that has a __getitem__ method

2012-01-08 Thread Olivier Delalleau
You could try A[...].fill(MyObject(...)). I haven't tried it myself, so not sure it would work though... -=- Olivier 2012/1/6 "David Köpfer" > Dear numpy community, > > I'm trying to create an array of type object. > > A = empty(9, dtype=object) > A[ array(0,1,2) ] = MyObject(1) > A[ array(3,4,

Re: [Numpy-discussion] Error in numpy.load example?

2012-01-08 Thread Pierre Haessig
Hi Sebastien, Le 05/01/2012 15:02, Sébastien Barthélémy a écrit : > However http://docs.scipy.org/doc/numpy/reference/generated/numpy.savez.html > says: > > numpy.savez(file, *args, **kwds)¶ > > Save several arrays into a single file in uncompressed .npz format. > > Moreover, this last page

Re: [Numpy-discussion] ANN: Numexpr 2.0.1 released

2012-01-08 Thread Francesc Alted
Python3 is not on my radar yet. Perhaps others might be interested on doing the port. Francesc 2012/1/8 Nadav Horesh : > What about python3 support? > >  Thanks > >    Nadav. > > > From: numpy-discussion-boun...@scipy.org [numpy-discussion-boun...@scipy.o

Re: [Numpy-discussion] ANN: Numexpr 2.0.1 released

2012-01-08 Thread Nadav Horesh
What about python3 support? Thanks Nadav. From: numpy-discussion-boun...@scipy.org [numpy-discussion-boun...@scipy.org] On Behalf Of Francesc Alted [fal...@gmail.com] Sent: 08 January 2012 12:49 To: Discussion of Numerical Python; numexpr Subject: [

[Numpy-discussion] ANN: Numexpr 2.0.1 released

2012-01-08 Thread Francesc Alted
== Announcing Numexpr 2.0.1 == Numexpr is a fast numerical expression evaluator for NumPy. With it, expressions that operate on arrays (like "3*a+4*b") are accelerated and use less memory than doing the same calculation in Python. It wears multi-t

Re: [Numpy-discussion] ANN: Numexpr 2.0 released

2012-01-08 Thread Francesc Alted
Hi srean, Sorry for being late answering, the latest weeks have been really crazy for me. See my comments below. 2011/12/13 srean : > This is great news, I hope this gets included in the epd distribution soon. > > I had mailed a few questions about numexpr sometime ago. I am still > curious abou