CERN home page CERN home page Consult pages Consult pages Writeups at CERN Writeups at CERN Garfield pages Garfield pages Help Help Call Call INTERPOLATE_i INTERPOLATE_i Search Keyword index

Call: INTERPOLATE_i


method

This procedure uses, depending on the compilation, either the ESSL routine STPINT or the CERNLIB procedure DIVDIF.

vector

Both x_vector and y_vector should be a 1-dimensional Matrix. They should have the same length, and the length should be at least equal to the order of interpolation + 1. If the length is less, then the order of interpolation is lowered accordingly.

The vector x_vector should be in strictly increasing or in strictly decreasing order, i.e. an element may not be equal to the element preceding or following it.

[These are mandatory arguments, no defaults are supplied.]


x

The coordinate at which interpolation is to be performed should be a Number in the range spanned by x_vector.

If the coordinate is outside this range, then 0 is returned. No error condition is raised in this case.

[This is a mandatory argument, no default is supplied.]


y

Contains, on successful completion, the result of the interpolation in the form of a Number.

Any value associated with this argument at the time the procedure is called, is lost after execution of the procedure.

[This is a mandatory argument.]


Go to the top level, to Call, to INTERPOLATE_i, to the topic index, to the table of contents, or to the full text.

Formatted on 0104-01-16 at 20:37.