SciPy

numpy.polynomial.polynomial.Polynomial.deriv

Polynomial.deriv(m=1)

Differentiate.

Return an instance of Polynomial that is the derivative of the current series. Refer to polyder for full documentation.

Parameters :

m : non-negative int

The number of integrations to perform.

Returns :

derivative : Polynomial

The derivative of the series using the same domain.

See also

polyder
similar function.
polyint
similar function for integration.