Poll: refactoring a chunk of legacy code

For anyone interested in using the JPL math77 library for nonlinear least squares problems, the following notice may be of interest.

The source file compjplJ.f90 is a driver for solving the 27 nonlinear least squares problems that are presented at the NIST site using the MATH77 routine DNLSGU. This file is to be compiled and linked with the subroutine files

dnlsgu.f, divset.f, drnsg.f, drn2g.f, dq7rfh.f, idam.f, amach.f

of the MATH77 library from JPL.

To run one of the NIST problems, for example, Nelson, enter the command

echo Nelson.dat | ./compjplJ

The 27 data files and the driver source file can be obtained in a Zip file from the cloud .

2 Likes