[SciPy-User] missing lapack functions in scipy.linalg.flapack

Ralf Gommers ralf.gommers at googlemail.com
Tue Jul 10 08:00:34 EDT 2012


On Sun, Jul 8, 2012 at 9:43 PM, <michf at post.tau.ac.il> wrote:

> It seems that ensight is using scipy 0.10.1 and not 0.11, and a
> version of 0.11 for 64 bit windows doesn't seem to be available.
>
> Under 0.10 solve_sylvester seems to be missing, and trsyl as well.
>
> As for eigenvalues, I was actually looking for trevc and hsein.
>
> It seems that wrappers for these are not implemented, I'm looking on
> how to do it myself, although I'm not sure. There is some information
> regarding calling mkl directly using ctypes, I'll see if I can get
> that to work.
>

If you want to wrap then in a way that's reusable in scipy, then using f2py
would be the way to go. For examples, see scipy/linalg/flapack.pyf.src

Ralf



> Thanks.
>
> Quoting Ralf Gommers <ralf.gommers at googlemail.com>:
>
> > On Sun, Jul 8, 2012 at 6:36 PM, <michf at post.tau.ac.il> wrote:
> >
> >> I'm trying to access a few lapack functions that don't seem to be
> >> available directly in scipy as far as I can tell.
> >
> >
> > They are. trsyl was added recently (for 0.11), geev should be in older
> > versions too.
> >
> > In [6]: linalg.flapack.dtrsyl
> > Out[6]: <fortran object>
> >
> > In [7]: linalg.flapack.dgeev
> > Out[7]: <fortran object>
> >
> > In [8]: linalg.solve_sylvester
> > Out[8]: <function scipy.linalg._solvers.solve_sylvester>
> >
> > Ralf
> >
> >
> >
> >> Specifically I need
> >> at the moment ?trsyl (solve triagonal sylvester equation) and the
> >> various subfunctions for computing eigenvectors (the whole stack used
> >> behind ?geev)
> >>
> >> I'm currently using the 64bit windows distribution from enthought
> >> (academic version).
> >>
> >> Any ideas?
> >>
> >> Thanks
> >>
> >> _______________________________________________
> >> SciPy-User mailing list
> >> SciPy-User at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/scipy-user
> >>
>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20120710/ef2bb6c0/attachment.html>


More information about the SciPy-User mailing list