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