Skip to content

Commit

Permalink
update for sympy
Browse files Browse the repository at this point in the history
  • Loading branch information
llinjupt committed Mar 17, 2019
1 parent 2b7cf56 commit 8c877bd
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions sympy.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
sympy
================

matplotlibpython 中一个非常强大的 2D 函数绘图模块,它提供了子模块 pyplot 和 pylab 。pylab 是对 pyplot 和 numpy 模块的封装,更适合在 IPython 交互式环境中使用
SymPyPython的一个数学符号计算(Symbolic computation)库。它目的在于成为一个富有特色的计算机代数系统。它保证自身的代码尽可能的简单,且易于理解,容易扩展。SymPy 完全由Python写成,不需要额外的库

对于一个项目来说,官方建议分别导入使用,这样代码更清晰,即:
与基于数值数组的计算相比,符号计算是一种精确计算,例如求导函数,求不定积分,求极限、解方程、微分方程、级数展开、矩阵运算等等计算问题。

.. code-block:: python
:linenos:
:lineno-start: 0
实际应用领域通常你可能用不到它,但是在进行基础算法研究时就离不开它了,相关文档:

import numpy as np
import matplotlib.pyplot as plt
- Sympy Official Documents : http://docs.sympy.org/latest/tutorial/index.html
- Sympy GitHub Repository : https://github.com/sympy/sympy
- 一个比较老的中文版教程 :https://www.xuebuyuan.com/1241064.html

而不是

.. code-block:: python
:linenos:
:lineno-start: 0
import pylab as pl

0 comments on commit 8c877bd

Please sign in to comment.