numpy.exp()
就相当于e的()次方
import numpy as np
a = np.exp(1)
print(a)
b = np.exp(2)
print(b)
# 结果:
# a为: 2.718281828459045 为e的一次方
# b为: 7.38905609893065 为e的二次方
numpy.exp()
就相当于e的()次方
import numpy as np
a = np.exp(1)
print(a)
b = np.exp(2)
print(b)
# 结果:
# a为: 2.718281828459045 为e的一次方
# b为: 7.38905609893065 为e的二次方