[SciPy-Dev] scipy.linalg.lapack + C(ython)

Daniel Wheeler daniel.wheeler2@gmail....
Tue Aug 7 08:49:35 CDT 2012


On Thu, Aug 2, 2012 at 6:10 AM, Robert Cimrman <cimrman3@ntc.zcu.cz> wrote:

> Hi,
>
> I need to write a C or Cython extension module that would involve repeated
> solves of a linear system with a dense matrix. For this, I would like to
> use
> the LAPACK function pointers provided by SciPy, to avoid dealing with
> LAPACK
> installation myself.
>
> I am aware of [1] so I know how to get to the right LAPACK function
> pointer,
> but it would help me a lot to look at an existing Cython or C code - has
> anyone
> done something similar?
>

This may or may not help you. I set this up for doing multiple small matrix
calculations.

  <
http://matforge.org/fipy/browser/branches/riemann/fipy/tools/smallMatrixVectorOpsExt.pyx
>

and

  <
http://matforge.org/fipy/browser/branches/riemann/fipy/tools/smallMatrixVectorOps.py
>

and

  <http://matforge.org/fipy/browser/branches/riemann/fipy/tools/clapack.pxd>

Cheers

-- 
Daniel Wheeler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20120807/274e9e4e/attachment.html 


More information about the SciPy-Dev mailing list