Prosody Logo Greg Kochanski Prosody Logo

PyLapack

PyLapack is a python interface to LAPACK. (The User's guide is at http://www.netlib.org/lapack/lug/ .) LAPACK is a library of linear algebra subroutines for doing all the usual things, but efficiently on modern machines.

This version is 0.21, the same as 0.2, except that it has a modern setup.py (Python distutils ) installation script. Once you have Python and CLAPACK installed, you should be able to download PyLapack, un-tar it, change to its directory and type
python setup.py install
That's all. Possibly you might have to be root, depending on your system configuration. You can install to a nonstandard place like this:
python setup.py install --prefix=/home/me
to install into /home/me/lib/pythonX.X/site-packages . If you have the FORTRAN version of LAPACK, rather than the C-translation, you need to include an extra file in the installation. To do this, just edit the
setup.py
file to add the file __hack__ to the list by uncommenting one line. This file, __hack__ defines the symbol MAIN__, which the FORTRAN version needs for some odd reason.

The previous version can be found here.


[ Papers | kochanski.org | Phonetics Lab | Oxford ] Last Modified Thu Jun 5 06:28:46 2008 Greg Kochanski: [ ]