polynomial.polynomial.
polymul
用一个多项式乘以另一个。
返回两个多项式的乘积 c1 * c2. The arguments are sequences of coefficients, from lowest order term to highest, e.g., [1,2,3] represents the polynomial 1 + 2* X+ 3 *x* *2.
1 + 2* X+ 3 *x* *2.
代表多项式的一维系数数组,相对于“标准”基,从最低阶项到最高阶项。
它们乘积的系数。
参见
polyadd
polysub
polymulx
polydiv
polypow
实例
>>> from numpy.polynomial import polynomial as P >>> c1 = (1,2,3) >>> c2 = (3,2,1) >>> P.polymul(c1,c2) array([ 3., 8., 14., 8., 3.])