-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
sympy | ||
================ | ||
|
||
matplotlib 是 python 中一个非常强大的 2D 函数绘图模块,它提供了子模块 pyplot 和 pylab 。pylab 是对 pyplot 和 numpy 模块的封装,更适合在 IPython 交互式环境中使用。 | ||
SymPy 是 Python的一个数学符号计算(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 |