scipy.interpolate.PPoly.extend#

PPoly.extend(c, x)[source]#

Add additional breakpoints and coefficients to the polynomial.

Parameters
cndarray, size (k, m, …)

Additional coefficients for polynomials in intervals. Note that the first additional interval will be formed using one of the self.x end points.

xndarray, size (m,)

Additional breakpoints. Must be sorted in the same order as self.x and either to the right or to the left of the current breakpoints.