polint

Author:

Press et al.

Date:

1992

Description:

General purpose polynomial interpolation routine.

Given two arrays xa and ya, each of length n, and given a value of x, return value y, and an error estimate dy.

References

Press et al., (1992), Numerical Recipes, Chapter 3.1.

Input Variables:

Variable

Type

Units

Description

xadouble *NAx data array
yadouble *NAy data array
nintcounterlength of xa and ya
xdoubleNAx data value

Output Variables:

Variable

Type

Units

Description

ydouble *NAestimated y value corresponding to the given x value
dydouble *NAestimated error associated with y

Subroutines Called:

Modifications and Limitations


VIC Home Page

VIC Code Page

Page Last Modified on 7/18/97