SciPy

numpy.polynomial.legendre.Legendre.deriv

Legendre.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.