Evaluate the piecewise polynomial or its derivative
Parameters: | x : array-like
nu : int, optional
extrapolate : bool, optional
|
---|---|
Returns: | y : array-like
|
Notes
Derivatives are evaluated piecewise for each polynomial segment, even if the polynomial is not differentiable at the breakpoints. The polynomial intervals are considered half-open, [a, b), except for the last interval which is closed [a, b].