The SLATEC Common Mathematical Library (CML) is written in FORTRAN 77 and contains over 1400 general purpose mathematical and statistical routines. SLATEC is an acronym for the “Sandia, Los Alamos, Air Force Weapons Laboratory Technical Exchange Committee”, an organization formed in 1974 by the

Posted in Programming Tagged with: , , ,


DDEABM is variable step size, variable order Adams-Bashforth-Moulton PECE solver for integrating a system of first order ordinary differential equations [1-2]. It is a public-domain code originally developed in the 1970s-1980s, written in FORTRAN 77, and is available from Netlib (as part of

Posted in Programming Tagged with: , , , , ,

Sorting with Magic Numbers

Updated July 7, 2014 Poorly commented sourcecode is one of my biggest pet peeves. Not only should the comments explain what the routine does, but where the algorithm came from and what its limitations are.  Consider ISORT, a non-recursive quicksort routine from SLATEC,

Posted in Programming Tagged with: , ,