least_set_old Subroutine

public subroutine least_set_old(ntab, xtab, ytab, ndeg, ptab, b, c, d, eps, ierror)

LEAST_SET_OLD constructs the least squares polynomial approximation to data.

Arguments

Type IntentOptional Attributes Name
integer(kind=4) :: ntab
real(kind=8) :: xtab(ntab)
real(kind=8) :: ytab(ntab)
integer(kind=4) :: ndeg
real(kind=8) :: ptab(ntab)
real(kind=8) :: b(1:ndeg)
real(kind=8) :: c(0:ndeg)
real(kind=8) :: d(2:ndeg)
real(kind=8) :: eps
integer(kind=4) :: ierror