scipy 特殊函数
来源:互联网 发布:阿里备案域名交易 编辑:程序博客网 时间:2024/06/11 04:07
概率统计的伽马函数
import scipy.special as Sprint S.gamma(4)6.0print S.gamma(0.5)1.77245385091print S.gamma(1+1j) #复数也可以(0.498015668118-0.154949828302j)print S.gamma(1000)inf
数太大使用对数伽马函数
S.gammaln(1000)Out[6]: 5905.2204232091808
log(1+x)函数log1p(),精度较浮点数高
print 1+1e-201.0print np.log(1+1e-20)0.0print S.log1p(1e-20)1e-20
ellipj(u,m)计算雅可比椭圆函数
可以传入数组,支持广播运算
result=S.sllipj(u[:,None],m[None:])
0 0
- scipy 特殊函数
- 特殊函数
- 特殊函数
- SciPy
- SciPy
- SciPy
- SciPy
- SciPy教程 - 常数constants和特殊函数库special
- 神奇的Gamma函数(scipy)
- scipy csr_matrix和csc_matrix函数详解
- scipy csr_matrix和csc_matrix函数详解
- 神奇的Gamma函数(scipy)
- sql 特殊函数
- to_char函数特殊用法
- oracle特殊函数用法
- 特殊日期加减函数
- SQL 特殊函数
- DllMain函数不特殊
- test
- 批处理简单快捷方法
- POJ 1827 A Bunch Of Monsters 题解
- Android柱形图 绘制
- PYTHON 3.6 re(正则表达式)翻译
- scipy 特殊函数
- leetcode 7.Reverse Integer
- windows下Python机器学习依赖库安装——numpy、scipy、sklearn、xgboost、theano等
- C++ 省略 std:: 前缀
- Redis持久化
- 代表月亮消灭你
- 【C++】实现对称矩阵以及压缩存储
- 求n次方的高效算法
- HDU