mindspore.numpy.polyder
- mindspore.numpy.polyder(p, m=1)[源代码]
Returns the derivative of the specified order of a polynomial.
Note
Numpy object poly1d is currently not supported.
- Parameters
- Returns
Tensor, a new polynomial representing the derivative.
- Raises
ValueError – If p has more than 1 dimensions.
- Supported Platforms:
Ascend
GPU
CPU
Examples
>>> import mindspore.numpy as np >>> print(np.polyder([1, 1, 1, 1])) [3 2 1]