LESQ, General NonLinear Least Squares
 8661

Lars Palmer, A B Hassle, Molndal, Sweden
LESQ implements the GaussNewton method for determining
the best fit constants to a given nonlinear curve.
The theoretical method is well described in the writeup to
FOCAL872 (the mathematical methods used are the same,
but there is no relationship in the programs). The program
contains the following features:
a) The function to be used is written as a FORTRAN func
tion and added to the system.
b) All derivatives needed are calculated numerically.
c) The program will accept up to 6 constants and up to 30
data points.
d) The program calculates the error matrix for all the con
stants and outputs a table of calculated y values versus
experimental.
e) In an FPP12 configuration the program iterates most
functions in under 10 seconds.
Minimum Hardware:  PDP8, any F4 system, OS/8

Other Programs Needed:  F4 compiler; writeup to DECUS
FOCAL872 useful

Storage Requirement:  12K in OS/8

Source Language:  FORTRAN IV

Catalog:
 July 1974
