Construct a new piecewise polynomial representing the derivative.
Parameters: | n : int, optional
|
---|---|
Returns: | pp : PPoly
|
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].