PiecewisePolynomial.extend(xi, yi, orders=None)[source]

Extend the PiecewisePolynomial by a list of points

Parameters :

xi : array_like

A sorted list of x-coordinates.

yi : list of lists of length N1

yi[i] (if axis == 0) is the list of derivatives known at xi[i].

orders : int or list of ints

A list of polynomial orders, or a single universal order.

direction : {None, 1, -1}

Indicates whether the xi are increasing or decreasing.

+1 indicates increasing

-1 indicates decreasing

None indicates that it should be deduced from the first two xi.

Previous topic


Next topic