mindspore/docs/api/api_python/numpy/mindspore.numpy.polyadd.rst

19 lines
548 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.numpy.polyadd
=======================
.. py:function:: mindspore.numpy.polyadd(a1, a2)
找到两个多项式的和。 返回两个输入多项式的和所得的多项式。
.. note::
目前不支持NumPy对象poly1d。
参数:
- **a1** (Union[int, float, list, tuple, Tensor]) - 输入多项式。
- **a2** (Union[int, float, list, tuple, Tensor]) - 输入多项式。
返回:
Tensor输入之和。
异常:
- **ValueError** - 如果输入数组的维数超过1。