📜  Python| Numpy np.chebmulx() 方法

📅  最后修改于: 2022-05-13 01:54:49.996000             🧑  作者: Mango

Python| Numpy np.chebmulx() 方法

借助np.chebmulx()方法,我们可以使用np.chebmulx()方法得到切比雪夫级数与自变量 x 的乘积。

示例 #1:
在这个例子中,我们可以看到通过使用np.chebmulx()方法,我们能够使用这种方法得到切比雪夫级数与自变量 x 的乘积。

# import numpy
import numpy as np
from numpy.polynomial import chebyshev as C
  
s1 = (4, 6, 8)
  
# using np.chebmulx() method
gfg = C.chebmulx(s1)
  
print(gfg)

输出 :

示例 #2:

# import numpy
import numpy as np
from numpy.polynomial import chebyshev as C
  
s1 = (4, 6, 8, 1, 3, 5)
  
# using np.chebmulx() method
gfg = C.chebmulx(s1)
  
print(gfg)

输出 :