One - One Code All

Blog Content

python计算math.exp

Python 统计学-科学计算   2009-12-01 22:27:12

高等数学里的以e为底的指数函数。
例:EXP{F(X)}是e的F(X)次方。

python: exp() 方法返回x的指数,e的x次方。

语法
以下是 exp() 方法的语法:
import math
math.exp( x )
注意:exp()是不能直接访问的,需要导入 math 模块,通过静态对象调用该方法。

返回x的指数,ex。


上一篇:python中pandas的series合并成dataframe
下一篇:pandas根据索引获取数据,索引检索再追加isin

The minute you think of giving up, think of the reason why you held on so long.