Python Numpy np.hermemulx()方法

Python Numpy np.hermemulx()方法

在np.hermulx()方法的帮助下,我们可以通过使用np.hermulx()方法得到hermiteE数列与自变量x的乘法。

语法: np.hermemulx(series)
返回:返回hermiteE系列与x的乘法。

例子#1 :
在这个例子中,我们可以看到,通过使用np.hermulx()方法,我们能够得到hermiteE系列与独立变量x的乘法。

# import numpy and hermemulx
import numpy as np
from numpy.polynomial.hermite_e import hermemulx
  
series = np.array([1, 2, 3, 4])
  
# using np.hermemulx() method
gfg = hermemulx(series)
  
print(gfg)

输出 :

[2. 7. 14. 3. 4.]

例子#2 :

# import numpy and hermemulx
import numpy as np
from numpy.polynomial.hermite_e import hermemulx
  
series = np.array([11, 22, 33, 44])
  
# using np.hermemulx() method
gfg = hermemulx(series)
  
print(gfg)

输出 :

[22. 77. 154. 33. 44.]

Python教程

Java教程

Web教程

数据库教程

图形图像教程

大数据教程

开发工具教程

计算机教程