[Numpy-discussion] performance matrix multiplication vs. matlab

Charles R Harris charlesr.harris at gmail.com
Tue Jun 9 22:30:01 EDT 2009


On Tue, Jun 9, 2009 at 7:46 PM, Benoit Jacob <jacob.benoit.1 at gmail.com>wrote:

> Hi,
>
> I'm one of the Eigen developers and was pointed to your discussion. I
> just want to clarify a few things for future reference (not trying to
> get you to use Eigen):
>
> > No, eigen does not provide a (complete) BLAS/LAPACK interface.
>
> True,
>
> > I don't know if that's even a goal of eigen
>
> Not a goal indeed, though there's agreement that such a bridge would
> be a nice add-on. (Would be a one-directional bridge though. You can't
> express with BLAS/LAPACK all what you can express with the Eigen API).
>
> > (it started as a project for KDE, to support high performance core
> > computations for things like spreadsheet and co).
>
> Yes, that's how it started 3 years ago. A lot changed since, though. See
> http://eigen.tuxfamily.org/index.php?title=Main_Page#Projects_using_Eigen
>
> > Eigen is:
> >   - not mature.
>
> Fair enough
>
> >   - heavily expression-template-based C++, meaning compilation takes ages
>
> No, because _we_ are serious about compilation times, unlike other c++
> template libraries. But granted, compilation times are not as short as
> a plain C library either.
>

I wonder if it is possible to have a compiler/parser that does nothing but
translate templates into c? Say, something written in python ;) Name
mangling would be a problem but could perhaps be simplified for the somewhat
limited space needed for numpy/scipy.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090609/c4416ac7/attachment.html>


More information about the NumPy-Discussion mailing list