Navigation

Operators and Keywords

Function List:

C++ API

: yi = ppval (pp, xi)

Evaluate the piecewise polynomial structure pp at the points xi.

If pp describes a scalar polynomial function, the result is an array of the same shape as xi. Otherwise, the size of the result is [pp.dim, length(xi)] if xi is a vector, or [pp.dim, size(xi)] if it is a multi-dimensional array.

See also: mkpp, unmkpp, spline, pchip.

Package: octave