polynomial.chebyshev.
chebmul
将一个切比雪夫级数乘以另一个。
返回两个chebyshev系列的乘积 c1 * c2. The arguments are sequences of coefficients, from lowest order "term" to highest, e.g., [1,2,3] represents the series ``T_0 + 2* T1+ 3×Ty2’。
切比雪夫级数系数的一维数组,由低到高排列。
代表切比雪夫级数的系数。
参见
chebadd
chebsub
chebmulx
chebdiv
chebpow
笔记
一般来说,两个C系列的(多项式)积得到的项不在切比雪夫多项式基集中。因此,要将产品表示为C系列,通常需要将产品“重新投影”到所述基本集,这通常会产生“非必然的实时”(但正确)结果;请参见下面的示例部分。
实例
>>> from numpy.polynomial import chebyshev as C >>> c1 = (1,2,3) >>> c2 = (3,2,1) >>> C.chebmul(c1,c2) # multiplication requires "reprojection" array([ 6.5, 12. , 12. , 4. , 1.5])