Re: [Numpy-discussion] numpy : your experiences?

2007-11-22 Thread [EMAIL PROTECTED]
> > In particular for the simulation yes, depending on the level of detail > > of course. But only parts, eg. random number generation for certain > > distributions had to be coded in C/C++. > > Are you saying you extended the scipy/numpy tools for this? > Do you think it would make sense to put so

[Numpy-discussion] Numpy matrix and Blitz Matrix

2007-11-22 Thread Paolo Tenconi
Hi Everyone, *) numpy arrays are automatically converted to blitz arrays. That's fine. *) I need to work with blitz Matrix objects, but I noticed that numpy matrix objects are not converted to them and I get a compilation error too 3) Does someone on the list succeeded doing that? Or

[Numpy-discussion] Adding ACML support

2007-11-22 Thread Matthieu Brucher
Hi, I'm trying to get numpy work with AMD's MKL. The problem is that they not give a CBLAS interface, only the BLAS one. Can the numpy distutils check the existence of the cblas interface somewhere ? For the moment, it checks something with BLAS (but no actual testing takes place), but not CBLAS.

[Numpy-discussion] loadtxt bug?

2007-11-22 Thread Alan G Isaac
In numpy.core.numeric.py you will find loadtxt, which uses the following:: line = line[:line.find(comments)].strip() I believe there is a bug here (when a line has no comment). To illustrate:: >>> line = "12345" >>> comments = "#" >>> line[:line.find(comments)] '1234' So

Re: [Numpy-discussion] numpy : your experiences?

2007-11-22 Thread Konrad Hinsen
On 17.11.2007, at 03:50, Rahul Garg wrote: > It would be awesome if you guys could respond to some of the following > questions : > a) Can you guys tell me briefly about the kind of problems you are > tackling with numpy and scipy? For me, NumPy is an important building block in a set of comput

Re: [Numpy-discussion] loadtxt bug?

2007-11-22 Thread Gael Varoquaux
On Thu, Nov 22, 2007 at 11:14:07PM -0500, Alan G Isaac wrote: > In numpy.core.numeric.py you will find loadtxt, which uses > the following:: > line = line[:line.find(comments)].strip() > I believe there is a bug here (when a line has no comment). > To illustrate:: > >>> line = "12345