SciPy

This is documentation for an old release of NumPy (version 1.9.3). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.polynomial.polynomial.Polynomial.deriv

Polynomial.deriv(m=1)[source]

Differentiate.

Return a series instance of that is the derivative of the current series.

Parameters:

m : non-negative int

The number of integrations to perform.

Returns:

new_series : series

A new series representing the derivative. The domain is the same as the domain of the differentiated series.