Fortran to Python

Evgenii Rudnyi usenet at
Sat Jan 5 17:12:50 CET 2008

On Jan 4, 2:21 pm, Jeroen Ruigrok van der Werven <asmo... at in-> wrote:
> I got someone who asked me to make changes in an old Fortran program she is
> using for some calculations.
> The calculations are pretty standard aside from 2 calls to DLINCG (an IMSL
> numerical_libraries function to calculate an inverse matrix).
> What I wonder about, does anybody have a Fortran to Python conversion page
> somewhere to map some of the basic types to Python equivalents?
> What kind of speed difference should I expect?

When it comes to matrices the difference can be quite big. You can
find the comparison of NumPy, Fortran 77, C, and C++ for matrix
multiplication with and without optimized BLAS at

NumPy interfaces optimized BLAS, and you can find a LAPACK interface
in SciPy, so it is a good choice.


More information about the Python-list mailing list