bundles / scipy 1.17.1 / scipy / interpolate / _ppoly / evaluate
fused_cython_function
scipy.interpolate._ppoly:evaluate
Signature
def evaluate ( c , x , xp , dx , extrapolate , out ) Summary
Evaluate a piecewise polynomial.
Parameters
c: ndarray, shape (k, m, n)Coefficients local polynomials of order
k-1inmintervals. There arenpolynomials in each interval. Coefficient of highest order-term comes first.x: ndarray, shape (m+1,)Breakpoints of polynomials.
xp: ndarray, shape (r,)Points to evaluate the piecewise polynomial at.
dx: intOrder of derivative to evaluate. The derivative is evaluated piecewise and may have discontinuities.
extrapolate: bintWhether to extrapolate to out-of-bounds points based on first and last intervals, or to return NaNs.
out: ndarray, shape (r, n)Value of each polynomial at each of the input points. This argument is modified in-place.
Aliases
-
scipy.interpolate._ppoly.evaluate