C Library Functions - glstsq (3)
NAME
glstsq(3f) - [M_math] least squares fit to a polynomial expression
(LICENSE:PD)
CONTENTS
Synopsis
Description
Options
Pedigree
Notes
License
SYNOPSIS
subroutine glstsq(ideg,x,y,n0,d)
integer :: ideg
real :: x(*)
real :: y(*)
integer :: n0
doubleprecision :: d(*)
DESCRIPTION
least squares fit to a polynomial expression
OPTIONS
|
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
|
|
PEDIGREE
Based on
graphics compatibility system
basic
subroutine ulstsq
level 13
written by Fred Tracy
modified by John S. Urban
NOTES
needs rewritten to normalize data so large numbers causing overflow
are not generated.
LICENSE
Public Domain
| Nemo Release 3.1 | glstsq (3) | August 28, 2026 |
Generated by manServer 1.08 from db896ba5-9543-44a9-bf77-0d1e1f028c86 using man macros.