np. exp(x) e的x幂次方
import numpy as np
print(np.exp(0))
print(np.exp(1))
print(np.exp(2))
输出为:
1.0
2.718281828459045
7.38905609893065
np. exp(x) e的x幂次方
import numpy as np
print(np.exp(0))
print(np.exp(1))
print(np.exp(2))
输出为:
1.0
2.718281828459045
7.38905609893065