Re: [Numpy-discussion] Wrong Eigenvalue (Approximation?)

2010-05-17 Thread Sebastian Haase
On Sun, May 16, 2010 at 2:13 PM, Alan G Isaac wrote: > On 5/16/2010 12:03 AM, Gabriel Mihalache wrote: >> The eigenvalue should be 1 exactly. > > http://floating-point-gui.de/ > Hi, just wondering why that site you just referred doesn't say who the author is !? It looks very nice (i.e. pleasing to

Re: [Numpy-discussion] savetxt not working with python3.1

2010-05-17 Thread Pauli Virtanen
Mon, 17 May 2010 13:22:18 -0400, Skipper Seabold wrote: [clip] > What version of Numpy? Can you file a bug ticket with a failing > example? I couldn't replicated with r8417 on Python 3. It was fixed in r8411. -- Pauli Virtanen ___ NumPy-Discussion m

Re: [Numpy-discussion] faster code

2010-05-17 Thread Francesc Alted
A Monday 17 May 2010 20:11:28 Keith Goodman escrigué: > On Mon, May 17, 2010 at 11:06 AM, Francesc Alted wrote: > > A Sunday 16 May 2010 21:14:34 Davide Lasagna escrigué: > >> Hi all, > >> > >> What is the fastest and lowest memory consumption way to compute this? > >> > >> y = np.arange(2**24) >

Re: [Numpy-discussion] Saving an array on disk to free memory - Pickling

2010-05-17 Thread Francesc Alted
A Monday 17 May 2010 13:03:19 Jean-Baptiste Rudant escrigué: > Hello, > > I tried to create an object : > - which behave just like a numpy array ; > - which can be saved on disk in an efficient way (numpy.save in my example > but with pytables in my real program) ; - which can be "unloaded" (if i

Re: [Numpy-discussion] faster code

2010-05-17 Thread Keith Goodman
On Mon, May 17, 2010 at 11:06 AM, Francesc Alted wrote: > A Sunday 16 May 2010 21:14:34 Davide Lasagna escrigué: >> Hi all, >> >> What is the fastest and lowest memory consumption way to compute this? >> >> y = np.arange(2**24) >> bases = y[1:] + y[:-1] >> >> Actually it is already quite fast, but

Re: [Numpy-discussion] faster code

2010-05-17 Thread Francesc Alted
A Sunday 16 May 2010 21:14:34 Davide Lasagna escrigué: > Hi all, > > What is the fastest and lowest memory consumption way to compute this? > > y = np.arange(2**24) > bases = y[1:] + y[:-1] > > Actually it is already quite fast, but i'm not sure whether it is occupying > some temporary memory >

Re: [Numpy-discussion] savetxt not working with python3.1

2010-05-17 Thread Skipper Seabold
On Thu, May 13, 2010 at 8:18 AM, Nadav Horesh wrote: > > in module npyio.py lines 794,796 "file" should be replaced by "_file" > What version of Numpy? Can you file a bug ticket with a failing example? I couldn't replicated with r8417 on Python 3. Skipper __

Re: [Numpy-discussion] Saving an array on disk to free memory - Pickling

2010-05-17 Thread Nadav Horesh
Is a memory mapped file is a viable solution to your problem? Nadav -Original Message- From: numpy-discussion-boun...@scipy.org on behalf of Jean-Baptiste Rudant Sent: Mon 17-May-10 14:03 To: Numpy Discussion Subject: [Numpy-discussion] Saving an array on disk to free memory - Picklin

[Numpy-discussion] Saving an array on disk to free memory - Pickling

2010-05-17 Thread Jean-Baptiste Rudant
Hello, I tried to create an object : - which behave just like a numpy array ; - which can be saved on disk in an efficient way (numpy.save in my example but with pytables in my real program) ; - which can be "unloaded" (if it is saved) to free memory : it can exsit has an empty stuff which knows