[Numpy-discussion] Calling LAPACK function dbdsqr()?

Charles R Harris charlesr.harris at gmail.com
Thu Dec 13 14:47:30 EST 2012


On Thu, Dec 13, 2012 at 12:26 PM, Philip Semanchuk <philip at semanchuk.com>wrote:

> Hi all,
> I'm porting some Fortran code that makes use of a number of BLAS and
> LAPACK functions, including dbdsqr(). I've found all of the functions I
> need via scipy.linalg.lapack.get_lapack_funcs/get_blas_funcs() except for
> dbdsqr().
>
> I see that the numpy source code (I looked at numpy-1.6.0b2) contains
> dbdsqr() in numpy/linalg/dlapack_lite.c, but grep can't find that string in
> the binary distribution on my Mac nor on Linux. If it's buried in a numpy
> binary somewhere, I'm comfortable with using ctypes to call it, but I
> suspect it isn't.
>
> Can anyone point me to a cross-platform (OS X, Linux & Windows) way I can
> call this function?
>
> I'm unfortunately quite naïve about the math in the code I'm porting, so
> I'm porting the code blindly -- if you ask me what problem I'm trying to
> solve with dbdsqr(), I won't be able to explain.
>
>
Not all the functions in lapack_lite are exposed in numpy. You might want
to post on the scipy list, there have been recent additions supporting more
lapack functions.

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


More information about the NumPy-Discussion mailing list