SciPy

scipy.interpolate.PiecewisePolynomial.append

PiecewisePolynomial.append(xi, yi, order=None)[source]

Append a single point with derivatives to the PiecewisePolynomial

Parameters:

xi : float

Input

yi : array_like

yi is the list of derivatives known at xi

order : integer or None

a polynomial order, or instructions to use the highest possible order