- naginterfaces.library.interp.dim1_aitken(a, b, x)¶
dim1_aitkeninterpolates a function of one variable at a given point from a table of function values evaluated at equidistant or non-equidistant points , for , using Aitken’s technique of successive linear interpolations.
For full information please refer to the NAG Library document for e01aa
- afloat, array-like, shape
must contain the -component of the th data point, , for .
- bfloat, array-like, shape
must contain the -component (function value) of the th data point, , for .
The point at which the interpolation is required. Note that may lie outside the interval defined by the minimum and maximum values in , in which case an extrapolated value will be computed; extrapolated results should be treated with considerable caution since there is no information on the behaviour of the function outside the defined interval.
- afloat, ndarray, shape
contains the value , for .
- bfloat, ndarray, shape
The contents of are unspecified.
- cfloat, ndarray, shape
contain the first set of linear interpolations,
contain the second set of linear interpolations,
contain the third set of linear interpolations,
contains the interpolated function value at the point .
- (errno )
On entry, error in parameter .
dim1_aitkeninterpolates a function of one variable at a given point from a table of values and , for using Aitken’s method (see Fröberg (1970)). The intermediate values of linear interpolations are stored to enable an estimate of the accuracy of the results to be made.
Fröberg, C E, 1970, Introduction to Numerical Analysis, Addison–Wesley