Re: [Numpy-discussion] Mapping of dtype to C types

2011-05-11 Thread Bruce Southey
On Wed, May 11, 2011 at 2:07 PM, Olivier Delalleau wrote: > 2011/5/11 Sturla Molden >> >> Den 09.05.2011 15:58, skrev Keith Goodman: >> > On Mon, May 9, 2011 at 1:46 AM, Pauli Virtanen  wrote: >> >> Sun, 08 May 2011 14:45:45 -0700, Keith Goodman wrote: >> >>> I'm writing a function that accepts f

Re: [Numpy-discussion] Mapping of dtype to C types

2011-05-11 Thread Olivier Delalleau
2011/5/11 Sturla Molden > Den 09.05.2011 15:58, skrev Keith Goodman: > > On Mon, May 9, 2011 at 1:46 AM, Pauli Virtanen wrote: > >> Sun, 08 May 2011 14:45:45 -0700, Keith Goodman wrote: > >>> I'm writing a function that accepts four possible dtypes: int32, int64, > >>> float32, float64. The func

Re: [Numpy-discussion] Mapping of dtype to C types

2011-05-11 Thread Sturla Molden
Den 09.05.2011 15:58, skrev Keith Goodman: > On Mon, May 9, 2011 at 1:46 AM, Pauli Virtanen wrote: >> Sun, 08 May 2011 14:45:45 -0700, Keith Goodman wrote: >>> I'm writing a function that accepts four possible dtypes: int32, int64, >>> float32, float64. The function will call a C extension (wrappe

Re: [Numpy-discussion] Need to eliminate a nested loop

2011-05-11 Thread eat
Hi, On Wed, May 11, 2011 at 8:28 AM, Elfnor wrote: > > Hi > > The following code produces the desired result but has a slow triple loop > iterating over the matrix multiplication. > > I'm sure it can be eliminated with a neat indexing trick but I can't figure > out how. > > Any suggestions pleas

[Numpy-discussion] EuroPython: Early Bird will end in 2 days!

2011-05-11 Thread Palla
Hi all, If you plan to attend, you could save quite a bit on registration fees! The end of Early bird is on May 12th, Friday, 23:59:59 CEST. We'd like to ask to you to forward this post to anyone that you feel may be interested. We have an amazing lineup of tutorials, events and talks. We have s