Re: [Numpy-discussion] Request for testing

2010-02-21 Thread Jochen Schroeder
No Warning for me: └─(08:26 $)─> python isinf.py True └─(08:26 $)─> python2.5 isinf.py True Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC 4.4.1] on linux2 Python 2.5.4 (r254:67916, Jan 20 2010, 21:43:02) [GCC 4.4.1] on linux2 numpy.version.version '1.3.0' └─(08:33 $)─> uname -a Li

[Numpy-discussion] [ANN] pyfftw-0.2 released

2010-02-14 Thread Jochen Schroeder
Hi all, I'm pleased to announce version 0.2 of pyfftw, a python module providing access to the FFTW3 library. New features: - pyfftw can now create advanced plans (needs testing) - provide location of fftw libraries at runtime with an environment variable - better detection of fftw location at

Re: [Numpy-discussion] Assigning complex values to a real array

2009-12-08 Thread Jochen Schroeder
On 12/08/09 02:32, David Warde-Farley wrote: > On 7-Dec-09, at 11:13 PM, Dr. Phillip M. Feldman wrote: > > > Example #1: > > IPython 0.10 [on Py 2.5.4] > > [~]|1> z= zeros(3) > > [~]|2> z[0]= 1+1J > > > > TypeError: can't convert complex to float; use abs(z) > > The problem is that you're using

Re: [Numpy-discussion] Interactive Shell/Editor/Workspace(variables)View/Plots

2009-06-08 Thread Jochen Schroeder
On 09/06/09 00:16, Gael Varoquaux wrote: > On Mon, Jun 08, 2009 at 05:14:27PM -0500, Gökhan SEVER wrote: > >IPython's edit command works in a similar fashion, too. > > >edit test.py > > The cool thing is that you can select text in the editor and execute in > EPDLab. On the other hand, I

Re: [Numpy-discussion] view takes no keyword arguments exception

2009-05-20 Thread Jochen Schroeder
On 21/05/09 00:20, Stéfan van der Walt wrote: > Hi Jochen > > 2009/5/20 Jochen Schroeder : > > I'm trying to help someone out with some problems with pyfftw > > (pyfftw.berlios.de). He is seeing an exception, > > > > TypeError: view() takes no keyword argu

[Numpy-discussion] view takes no keyword arguments exception

2009-05-20 Thread Jochen Schroeder
Hi all, I'm trying to help someone out with some problems with pyfftw (pyfftw.berlios.de). He is seeing an exception, TypeError: view() takes no keyword arguments This doesn't only happen when he uses pyfftw but also when he does the following: >>> import numpy as np >>> a=np.arange(10)

Re: [Numpy-discussion] Construct a large n-dimensional complex matrix

2009-04-07 Thread Jochen Schroeder
On 06/04/09 21:20, Robert Kern wrote: > On Mon, Apr 6, 2009 at 20:53, Nathan Faggian wrote: > > HI, > > I want to construct a large complex matrix, I have the real and imaginary > > components as double vectors, is there a fast way to construct a complex > > vector in numpy? > > C = np.empty((n,m

Re: [Numpy-discussion] numpy.ctypeslib.ndpointer and the restype attribute

2009-03-23 Thread Jochen Schroeder
On 23/03/09 15:40, Sturla Molden wrote: > Jens Rantil wrote: > > Hi all, > > > > So I have a C-function in a DLL loaded through ctypes. This particular > > function returns a pointer to a double. In fact I know that this > > pointer points to the first element in an array of, say for simplicity,