Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread Travis Oliphant
[EMAIL PROTECTED] wrote: >Hi, > > [TO]: NumPy uses Numeric's old wrapper to lapack algorithms. > [TO]: > [TO]: SciPy uses it's own f2py-generated wrapper (it doesn't rely on the > [TO]: NumPy wrapper). > [TO]: > [TO]: The numpy.dual library exists so you can use the SciPy calls if the > [TO]:

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread David M. Cooke
On Wed, 28 Jun 2006 03:22:28 -0500 Robert Kern <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > > [TO]: NumPy uses Numeric's old wrapper to lapack algorithms. > > [TO]: > > [TO]: SciPy uses it's own f2py-generated wrapper (it doesn't rely on the > > [TO]: NumPy wrapper).

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread David M. Cooke
On Wed, 28 Jun 2006 10:55:36 +0200 Jon Wright <[EMAIL PROTECTED]> wrote: > Poking around in the svn of numpy.linalg appears to find the same lapack > routine as Numeric (dsyevd). Perhaps I miss something in the code logic? It's actually *exactly* the same as the latest Numeric :-) It hasn't been

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread Filip Wasilewski
Jens wrote: > Dennis V. Perepelitsa wrote: >>Hi, all. >> >>I've run some benchmarks comparing the performance of scipy, numpy, >>Numeric and numarray vs. MATLAB. There's also the beginnings of a >>benchmark framework included. The results are online at: >> >> http://web.mit.edu/jonas/www/be

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread Jens Jørgen Mortensen
Dennis V. Perepelitsa wrote: >Hi, all. > >I've run some benchmarks comparing the performance of scipy, numpy, >Numeric and numarray vs. MATLAB. There's also the beginnings of a >benchmark framework included. The results are online at: > > http://web.mit.edu/jonas/www/bench/ > > It's a lit

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread Arnd Baecker
Hi, On Wed, 28 Jun 2006, Jon Wright wrote: > > >>This strikes me as a little bit odd. Why not just provide the > >>best-performing > >>function to both SciPy and NumPy? Would NumPy be more difficult to install > >>if the SciPy algorithm for inv() was incorporated? > >> > >> > Having spent a few

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread Jon Wright
>>This strikes me as a little bit odd. Why not just provide the best-performing >>function to both SciPy and NumPy? Would NumPy be more difficult to install >>if the SciPy algorithm for inv() was incorporated? >> >> Having spent a few days recently trying out various different eigenvector ro

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread Robert Kern
[EMAIL PROTECTED] wrote: > Hi, > > [TO]: NumPy uses Numeric's old wrapper to lapack algorithms. > [TO]: > [TO]: SciPy uses it's own f2py-generated wrapper (it doesn't rely on the > [TO]: NumPy wrapper). > [TO]: > [TO]: The numpy.dual library exists so you can use the SciPy calls if the >

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-28 Thread joris
Hi, [TO]: NumPy uses Numeric's old wrapper to lapack algorithms. [TO]: [TO]: SciPy uses it's own f2py-generated wrapper (it doesn't rely on the [TO]: NumPy wrapper). [TO]: [TO]: The numpy.dual library exists so you can use the SciPy calls if the [TO]: person has SciPy installed or the N

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Robert Kern
Keith Goodman wrote: > Scipy computes the inverse of a matrix faster than numpy (except if > the dimensions of x are small). But scipy is slower than numpy for > eigh (I only checked for symmetric positive definite matrices): Looks like scipy uses *SYEV and numpy uses the better *SYEVD (the D stan

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Keith Goodman
On 6/27/06, Keith Goodman <[EMAIL PROTECTED]> wrote: > On 6/27/06, Travis Oliphant <[EMAIL PROTECTED]> wrote: > > > The numpy.dual library exists so you can use the SciPy calls if the > > person has SciPy installed or the NumPy ones otherwise. It exists > > precisely for the purpose of seamlessly

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Keith Goodman
On 6/27/06, Travis Oliphant <[EMAIL PROTECTED]> wrote: > The numpy.dual library exists so you can use the SciPy calls if the > person has SciPy installed or the NumPy ones otherwise. It exists > precisely for the purpose of seamlessly taking advantage of > algorithms/interfaces that exist in NumP

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Travis Oliphant
Keith Goodman wrote: > On 6/27/06, Dennis V. Perepelitsa <[EMAIL PROTECTED]> wrote: > > >> I've run some benchmarks comparing the performance of scipy, numpy, >> Numeric and numarray vs. MATLAB. >> > > I enjoyed looking at the results. > > The most interesting result, for me, was that inver

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Travis Oliphant
Dennis V. Perepelitsa wrote: > Hi, all. > > I've run some benchmarks comparing the performance of scipy, numpy, > Numeric and numarray vs. MATLAB. There's also the beginnings of a > benchmark framework included. The results are online at: > > http://web.mit.edu/jonas/www/bench/ > > They were

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Keith Goodman
On 6/27/06, Dennis V. Perepelitsa <[EMAIL PROTECTED]> wrote: > I've run some benchmarks comparing the performance of scipy, numpy, > Numeric and numarray vs. MATLAB. I enjoyed looking at the results. The most interesting result, for me, was that inverting a matrix is much faster in scipy than nu

Re: [Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Robert Kern
Dennis V. Perepelitsa wrote: > Hi, all. > > I've run some benchmarks comparing the performance of scipy, numpy, > Numeric and numarray vs. MATLAB. There's also the beginnings of a > benchmark framework included. The results are online at: > > http://web.mit.edu/jonas/www/bench/ > > They w

[Numpy-discussion] Numpy Benchmarking

2006-06-27 Thread Dennis V. Perepelitsa
Hi, all. I've run some benchmarks comparing the performance of scipy, numpy, Numeric and numarray vs. MATLAB. There's also the beginnings of a benchmark framework included. The results are online at: http://web.mit.edu/jonas/www/bench/ They were produced on a Thinkpad T42 with an Intel Pe