Re: [Numpy-discussion] I am volunteering to be the release manager for NumPy 1.0.3.1 and SciPy 0.5.2

2007-08-09 Thread David Cournapeau
Jarrod Millman wrote: > I volunteer to be the release manager for NumPy 1.0.3.1 and SciPy > 0.5.3. In order to actually get them both released I will obviously > need some help. But given the amount of work required and the number > of people who have offered to help, I believe this will be doabl

Re: [Numpy-discussion] I am volunteering to be the release manager for NumPy 1.0.3.1 and SciPy 0.5.2

2007-08-09 Thread Robert Kern
Christopher Barker wrote: > > Jarrod Millman wrote: >> I volunteer to be the release manager for NumPy 1.0.3.1 and SciPy >> 0.5.3. > > Wonderful! Thanks. > >> Releasing SciPy 0.5.3 >> We can also make the OS X >> binaries especially if Robert Kern is stilling willing to help. > > What form wil

Re: [Numpy-discussion] rant against from numpy import * / from pylab import *

2007-08-09 Thread Eric Firing
Sebastian, I am trying to move things in the direction of simpler and cleaner namespaces, but I think that to do it well requires a systematic approach to the continuing numpification of mpl, so I have been working on mlab.py before tackling pylab. I hope everything can be done via reorganiza

Re: [Numpy-discussion] I am volunteering to be the release manager for NumPy 1.0.3.1 and SciPy 0.5.2

2007-08-09 Thread Robert Kern
Christopher Barker wrote: > > Jarrod Millman wrote: >> I volunteer to be the release manager for NumPy 1.0.3.1 and SciPy >> 0.5.3. > > Wonderful! Thanks. > >> Releasing SciPy 0.5.3 >> We can also make the OS X >> binaries especially if Robert Kern is stilling willing to help. > > What form wil

Re: [Numpy-discussion] Working with lists

2007-08-09 Thread Paul Rudin
"Keith Goodman" <[EMAIL PROTECTED]> writes: > On 8/9/07, Gary Ruben <[EMAIL PROTECTED]> wrote: >> FWIW, >> The list comprehension is faster than using map() >> >> In [7]: %timeit map(lambda x:x[0],bounds) >> 1 loops, best of 3: 49.6 -¦s per loop >> >> In [8]: %timeit [x[0] for x in bounds] >>

Re: [Numpy-discussion] I am volunteering to be the release manager for NumPy 1.0.3.1 and SciPy 0.5.2

2007-08-09 Thread Christopher Barker
Jarrod Millman wrote: > I volunteer to be the release manager for NumPy 1.0.3.1 and SciPy > 0.5.3. Wonderful! Thanks. > Releasing SciPy 0.5.3 > We can also make the OS X > binaries especially if Robert Kern is stilling willing to help. What form will these take? It would be great if we could

Re: [Numpy-discussion] Working with lists

2007-08-09 Thread Keith Goodman
On 8/9/07, Gary Ruben <[EMAIL PROTECTED]> wrote: > FWIW, > The list comprehension is faster than using map() > > In [7]: %timeit map(lambda x:x[0],bounds) > 1 loops, best of 3: 49.6 -¦s per loop > > In [8]: %timeit [x[0] for x in bounds] > 1 loops, best of 3: 20.8 -¦s per loop zip is even

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread David Cournapeau
On 8/9/07, Stefan van der Walt <[EMAIL PROTECTED]> wrote: > > It doesn't really matter where the memory allocation occurs, does it? > As far as I understand, the underlying fftw function has some flag to > indicate when the data is aligned. If so, we could expose that flag > in Python, and do som

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread David Cournapeau
On 8/9/07, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > On 8/9/07, David Cournapeau <[EMAIL PROTECTED]> wrote: > > Charles R Harris wrote: > > > > > > Ah, you want it in C. > > What would be the use to get SIMD aligned arrays in python ? > > If I wanted a fairly specialized routine and didn't

[Numpy-discussion] Where to put misc C function in numpy ?

2007-08-09 Thread David Cournapeau
Hi, Following the thread on facilities for SIMD friendly allocations, I have a basic private branch ready for review, but I have one problem: where to put the allocation functions ? The problem is the following: data buffers are allocated/deallocated with functions defined in ndarrayobject,h PyMe

Re: [Numpy-discussion] Working with lists

2007-08-09 Thread Gary Ruben
FWIW, The list comprehension is faster than using map() In [7]: %timeit map(lambda x:x[0],bounds) 1 loops, best of 3: 49.6 -¦s per loop In [8]: %timeit [x[0] for x in bounds] 1 loops, best of 3: 20.8 -¦s per loop Gary R. Keith Goodman wrote: > On 8/9/07, Nils Wagner <[EMAIL PROTECTED]>

Re: [Numpy-discussion] Working with lists

2007-08-09 Thread volker
Nils Wagner iam.uni-stuttgart.de> writes: > > Hi all, > > I have a list e.g. > >>> bounds > [(1950.0, 2100.0), (1800.0, 1850.0), (1600.0, 1630.0), (1400.0, 1420.0), > (1200.0, 1210.0), (990, 1018.0), (10, 12), (12.0, 14.0), (14.0, 16.0), > (16.0, 18.0), (18.0, 20)] > > How can I extract the fi

Re: [Numpy-discussion] Working with lists

2007-08-09 Thread Keith Goodman
On 8/9/07, Nils Wagner <[EMAIL PROTECTED]> wrote: > [(1950.0, 2100.0), (1800.0, 1850.0), (1600.0, 1630.0), (1400.0, 1420.0), > (1200.0, 1210.0), (990, 1018.0), (10, 12), (12.0, 14.0), (14.0, 16.0), > (16.0, 18.0), (18.0, 20)] > > How can I extract the first value of each pair given in parenthesis i

[Numpy-discussion] Working with lists

2007-08-09 Thread Nils Wagner
Hi all, I have a list e.g. >>> bounds [(1950.0, 2100.0), (1800.0, 1850.0), (1600.0, 1630.0), (1400.0, 1420.0), (1200.0, 1210.0), (990, 1018.0), (10, 12), (12.0, 14.0), (14.0, 16.0), (16.0, 18.0), (18.0, 20)] How can I extract the first value of each pair given in parenthesis i.e. 1950,1800,1600,1

[Numpy-discussion] APL2007 Update

2007-08-09 Thread Steven H. Rogers
Attached is an updated announcement for APL2007: Arrays and Objects. 21-23 October 2007 Montreal, Canada APL = Array Programming Languages APL2007Ann-2-1.pdf Description: Adobe PDF document ___ Numpy-discussion mailing list Numpy-discussion@scipy

[Numpy-discussion] I am volunteering to be the release manager for NumPy 1.0.3.1 and SciPy 0.5.2

2007-08-09 Thread Jarrod Millman
I volunteer to be the release manager for NumPy 1.0.3.1 and SciPy 0.5.3. In order to actually get them both released I will obviously need some help. But given the amount of work required and the number of people who have offered to help, I believe this will be doable. Given the extensive discus

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread Stefan van der Walt
On Thu, Aug 09, 2007 at 04:52:38PM +0900, David Cournapeau wrote: > Charles R Harris wrote: > > > > Well, what you want might be very easy to do in python, we just need > > to check the default alignments for doubles and floats for some of the > > other compilers, architectures, and OS's out ther

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread Charles R Harris
On 8/9/07, David Cournapeau <[EMAIL PROTECTED]> wrote: > > Charles R Harris wrote: > > > > Ah, you want it in C. > What would be the use to get SIMD aligned arrays in python ? If I wanted a fairly specialized routine and didn't want to touch the guts of numpy, I would pass the aligned array to a

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread David Cournapeau
Charles R Harris wrote: > > Ah, you want it in C. What would be the use to get SIMD aligned arrays in python ? David ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread Charles R Harris
On 8/9/07, David Cournapeau <[EMAIL PROTECTED]> wrote: > > Charles R Harris wrote: > > > > Well, what you want might be very easy to do in python, we just need > > to check the default alignments for doubles and floats for some of the > > other compilers, architectures, and OS's out there. On the o

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread Charles R Harris
On 8/9/07, Charles R Harris <[EMAIL PROTECTED]> wrote: > > > > On 8/8/07, David Cournapeau <[EMAIL PROTECTED]> wrote: > > > > Charles R Harris wrote: > > > Anne, > > > > > > On 8/8/07, *Anne Archibald* <[EMAIL PROTECTED] > > > > wrote: > > > > > > On 08/08/2007, Charles R Harris <[EMAIL PROTECT

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread David Cournapeau
Charles R Harris wrote: > > Well, what you want might be very easy to do in python, we just need > to check the default alignments for doubles and floats for some of the > other compilers, architectures, and OS's out there. On the other hand, > you might not be able to request a c malloc that is

Re: [Numpy-discussion] numpy arrays, data allocation and SIMD alignement

2007-08-09 Thread Charles R Harris
On 8/8/07, David Cournapeau <[EMAIL PROTECTED]> wrote: > > Charles R Harris wrote: > > Anne, > > > > On 8/8/07, *Anne Archibald* <[EMAIL PROTECTED] > > > wrote: > > > > On 08/08/2007, Charles R Harris <[EMAIL PROTECTED] > > > wrote: > >