extend — SciPy v1.15.3 Manual (original) (raw)

scipy.interpolate.BPoly.

BPoly.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 theself.x end points.

xndarray, size (m,)

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

Notes

This method is not thread safe and must not be executed concurrently with other methods available in this class. Doing so may cause unexpected errors or numerical output mismatches.