[Numpy-discussion] Re: [SciPy-user] numarray interface and performance issues (for dot product and transpose)

Pearu Peterson pearu at cens.ioc.ee
Thu Feb 28 13:32:09 CST 2002


On 28 Feb 2002, A.Schmolck wrote:

> So far, I've thought of the following possible solutions:
> 0. Do nothing:
>    Just live with the awkward syntax.

Let me add a subsolution here:

0.1 Wait for scipy to mature (or better yet, help it to do that). 

Scipy already provides wrappers to both, Fortran and C, LAPACK and BLAS
routines, though currently they are under revision.
With the new wrappers to these routines you can optimize your code
fragments as flexible as if using them from C or Fortran. In principle,
one could mix Fortran and C routines (i.e. the corresponding wrappers) so
that one avoids all unneccasary transpositions. All matrix operations can
be performed in-situ if so desired.


More information about the Numpy-discussion mailing list