Re: [Numpy-discussion] strange bug

2006-06-19 Thread Johannes Loehnert
Hi, > ## Output: > numpy.__version__: 0.9.8 > y: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9.] > y**2: [ 0. 1. 4. 9. 16. 25. 36. 49. 64. 81.] > z: [ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9.] > z**2: [ 0.e+00 1.e+00 1.6000e+01 8.1000e+01 >2.5600e+0

[Numpy-discussion] strange bug

2006-06-19 Thread Alan G Isaac
I think there is a bug in the **= operator, for dtype=float. Alan Isaac ## Script: import numpy print "numpy.__version__: ", numpy.__version__ ''' Illustrate a strange bug: ''' y = numpy.arange(10,dtype=float) print "y: ",y y *= y print "y**2: ",y z = numpy.arange(10,dtype=float) print "z: ", z

Re: [Numpy-discussion] updated Ubuntu Dapper packages for numpy, matplotlib, and scipy online

2006-06-19 Thread Andrew Straw
David Cournapeau wrote: > That's great. Last week, I sended several messages to the list > regarding your messages about debian packages for numpy, but it looks > they were lost somewhere > > Right now, I use the experimental package of debian + svn sources for > numpy, and it works well. I

Re: [Numpy-discussion] updated Ubuntu Dapper packages for numpy, matplotlib, and scipy online

2006-06-19 Thread David Cournapeau
Andrew Straw wrote: > I have updated the apt repository I maintain for Ubuntu's Dapper, which > now includes: > > numpy > matplotlib > scipy > > Each package is from a recent SVN checkout and should thus be regarded > as "bleeding edge". The repository has a new URL: > http://debs.astraw.com/dapper

Re: [Numpy-discussion] f2py produces so.so

2006-06-19 Thread George Nurser
On 19/06/06, Berthold Höllmann <[EMAIL PROTECTED]> wrote: > "George Nurser" <[EMAIL PROTECTED]> writes: > > > I have run into a strange problem with the current numpy/f2py (f2py > > 2_2631, numpy 2631). > > I have a file [Wright.f] which contains 5 different fortran > > subroutines. Arguments have

Re: [Numpy-discussion] Distance Matrix speed

2006-06-19 Thread Tim Hochberg
Tim Hochberg wrote: >Sebastian Beca wrote: > > > >>I just ran Alan's script and I don't get consistent results for 100 >>repetitions. I boosted it to 1000, and ran it several times. The >>faster one varied alot, but both came into a ~ +-1.5% difference. >> >>When it comes to scaling, for my pro

Re: [Numpy-discussion] Distance Matrix speed

2006-06-19 Thread Tim Hochberg
Sebastian Beca wrote: >I just ran Alan's script and I don't get consistent results for 100 >repetitions. I boosted it to 1000, and ran it several times. The >faster one varied alot, but both came into a ~ +-1.5% difference. > >When it comes to scaling, for my problem(fuzzy clustering), N is the >

Re: [Numpy-discussion] Distance Matrix speed

2006-06-19 Thread Sebastian Beca
I just ran Alan's script and I don't get consistent results for 100 repetitions. I boosted it to 1000, and ran it several times. The faster one varied alot, but both came into a ~ +-1.5% difference. When it comes to scaling, for my problem(fuzzy clustering), N is the size of the dataset, which sh

Re: [Numpy-discussion] f2py produces so.so

2006-06-19 Thread Berthold Höllmann
"George Nurser" <[EMAIL PROTECTED]> writes: > I have run into a strange problem with the current numpy/f2py (f2py > 2_2631, numpy 2631). > I have a file [Wright.f] which contains 5 different fortran > subroutines. Arguments have been specified as input or output by > adding cf2pyintent (in), (

[Numpy-discussion] hail seductive

2006-06-19 Thread Kenneth Colon
___ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion

[Numpy-discussion] updated Ubuntu Dapper packages for numpy, matplotlib, and scipy online

2006-06-19 Thread Andrew Straw
I have updated the apt repository I maintain for Ubuntu's Dapper, which now includes: numpy matplotlib scipy Each package is from a recent SVN checkout and should thus be regarded as "bleeding edge". The repository has a new URL: http://debs.astraw.com/dapper/ I intend to keep this repository onl

Re: [Numpy-discussion] tiny patch + Playing with strings and my own array descr (PyArray_STRING, PyArray_OBJECT).

2006-06-19 Thread Benjamin Thyreau
Le Vendredi 16 Juin 2006 20:01, Matthieu Perrot a écrit : > hi, > > I need to handle strings shaped by a numpy array whose data own to a C (...) > a new array descr based on PyArray_OBJECT and change its getitem/setitem > -- > Matthieu Perrot Tel: +33 1 69 86 78 21 > CEA - SHFJ

[Numpy-discussion] f2py produces so.so

2006-06-19 Thread George Nurser
I have run into a strange problem with the current numpy/f2py (f2py 2_2631, numpy 2631). I have a file [Wright.f] which contains 5 different fortran subroutines. Arguments have been specified as input or output by adding cf2pyintent (in), (out) etc. Doing f2py -c Wright.f -m Wright.so does n

[Numpy-discussion] Actualizaciones Banamex

2006-06-19 Thread Banamex
Title: Banamex ESTIMADO CLIENTE DE BANAMEX Durante nuestro programado mantenimiento regu

Re: [Numpy-discussion] finding connected areas?

2006-06-19 Thread Alexandre Fayolle
I'm bringing back the discussion on list. On Mon, Jun 19, 2006 at 12:01:27AM +0100, stephen emslie wrote: > > > >You will get this in numarray.nd_image, the function is > >called label. It is also available in recent versions of scipy, in > >module scipy.ndimage. > > > > Thanks for pointing m