glstsq(3f) - [M_math] least squares fit to a polynomial expression (LICENSE:PD)
Synopsis
Description
Options
Pedigree
Notes
License
subroutine glstsq(ideg,x,y,n0,d)
integer :: ideg real :: x(*) real :: y(*) integer :: n0 doubleprecision :: d(*)
least squares fit to a polynomial expression
x X values to fit y Y values to fit ideg is desired degree of least square fit and test n0 is number of points in curve arrays (x, y) d is returned coefficient array
Based on
graphics compatibility system basic subroutine ulstsq level 13 written by Fred Tracy modified by John S. Urban
needs rewritten to normalize data so large numbers causing overflow are not generated.
Public Domain
Nemo Release 3.1 | glstsq (3) | February 23, 2025 |