Navigation

Operators and Keywords

Function List:

C++ API

Function File: [x, p, n, k, d] = unmkpp (pp)

Extract the components of a piecewise polynomial structure pp.

The components are:

x

Sample points.

p

Polynomial coefficients for points in sample interval. p (i, :) contains the coefficients for the polynomial over interval i ordered from highest to lowest. If d > 1, p (r, i, :) contains the coefficients for the r-th polynomial defined on interval i.

n

Number of polynomial pieces.

k

Order of the polynomial plus 1.

d

Number of polynomials defined for each interval.

See also: mkpp, ppval, spline, pchip.

Package: octave