mindspore.numpy.polymul
- mindspore.numpy.polymul(a1, a2)[源代码]
Finds the product of two polynomials.
Note
Numpy object poly1d is currently not supported.
- Parameters
- Returns
Tensor, a new polynomial representing the derivative.
- Raises
ValueError – If the input array has more than 1 dimensions.
- Supported Platforms:
GPU
Examples
>>> import mindspore.numpy as np >>> print(np.polymul([3, 1, 2], [2, 5])) [ 6 17 9 10]