jax.numpy.polyder

Contents

jax.numpy.polyder#

jax.numpy.polyder(p, m=1)#

Return the derivative of the specified order of a polynomial.

LAX-backend implementation of numpy.polyder().

Original docstring below.

Note

This forms part of the old polynomial API. Since version 1.4, the new polynomial API defined in numpy.polynomial is preferred. A summary of the differences can be found in the transition guide.

Parameters:
  • p (poly1d or sequence) – Polynomial to differentiate. A sequence is interpreted as polynomial coefficients, see poly1d.

  • m (int, optional) – Order of differentiation (default: 1)

Returns:

der – A new polynomial representing the derivative.

Return type:

poly1d