least_val2 Subroutine

public subroutine least_val2(nterms, b, c, d, x, px, pxp)

LEAST_VAL2 evaluates a least squares polynomial defined by LEAST_SET.

Arguments

Type IntentOptional Attributes Name
integer(kind=4) :: nterms
real(kind=8) :: b(nterms)
real(kind=8) :: c(nterms)
real(kind=8) :: d(nterms)
real(kind=8) :: x
real(kind=8) :: px
real(kind=8) :: pxp