Re: [Numpy-discussion] How to tell numpy to use gfortran as a compiler ?

2007-02-25 Thread Sturla Molden
> Robert Kern wrote: > But now, I think I misunderstand some things : I thought that g77 was > the 3.* version of the fortran compiler, and gfortran the 4.* one. But > it looks like they are also different in the fortran dialect they are > supporting (I know nothing about fortran). So should I use

Re: [Numpy-discussion] Unifying numpy, scipy, and matplotlib docstring formats

2007-02-25 Thread Jouni K . Seppänen
"Barry Wark" <[EMAIL PROTECTED]> writes: > Yes, I agree. I wasn't coming at so much from the goal of making Pylab > a Matlab clone (as you point out, that's silly, and misses much of the > advantage of Python), but rather from the goal of making interactive > use as efficient as possible. When I f

Re: [Numpy-discussion] the neighbourhood of each element of an array

2007-02-25 Thread joris
Thanks for all the useful comments. Some feedback about the improved version of my code snippet. For a 40x40 matrix and d=1 the new version is 44 times faster, and for d=2 it's 27 times faster. For my astronomical images (typical 2000x2000) the new version saves my day. # improved version d = 1 N

Re: [Numpy-discussion] Unifying numpy, scipy, and matplotlib docstring formats

2007-02-25 Thread Fernando Perez
Hi, On 2/25/07, Jouni K. Seppänen <[EMAIL PROTECTED]> wrote: > I suppose these things could be addressed quite neatly by IPython. > It could even modify your history similarly to what it currently > does with the %magic commands, so that when you type Feel free to play with implementing this, it

Re: [Numpy-discussion] How to tell numpy to use gfortran as a compiler ?

2007-02-25 Thread David Cournapeau
Sturla Molden wrote: > > > g77 is a Fortran 77 compiler. The development of g77 is halted. > > gfortran is a Fortran 77, 90, and 95 compiler. It is the current Fortran > compiler in the GNU Compiler Collection (GCC). > > > You can compile the reference implementation of BLAS and LAPACK with both >

Re: [Numpy-discussion] How to tell numpy to use gfortran as a compiler ?

2007-02-25 Thread Robert Kern
David Cournapeau wrote: > Sturla Molden wrote: >> >> g77 is a Fortran 77 compiler. The development of g77 is halted. >> >> gfortran is a Fortran 77, 90, and 95 compiler. It is the current Fortran >> compiler in the GNU Compiler Collection (GCC). >> >> >> You can compile the reference implementation