SymPy Python计算机代数系统

SymPy简介

SymPy,用纯Python编写的开源库,可用于符号数学的功能齐全的计算机代数系统(CAS)。

SymPy应用实例

>>> from sympy import Symbol, cos
>>> x = Symbol('x')
>>> e = 1/cos(x)
>>> print(e.series(x, 0, 10))
1 + x**2/2 + 5*x**4/24 + 61*x**6/720 + 277*x**8/8064 + O(x**10)

SymPy Github统计数据

SymPy is BSD licensed

Github 11.6k stars

SymPy安装命令

pip install sympy 或 conda install -c anaconda sympy

免责声明:内容编辑自网络,仅供参考,不保证正确性,不作任何决策依据!!以上数据皆截止于博文的写稿日期。


行业导航 / Python指南 :
























Copyright © 2022-2024 笨鸟工具 x1y1z1.com All Rights Reserved.