Numerical calculation and its application based on NumPy/SciPy
- 线性代表
- 微分和积分
- 统计
- 插值
线性代表
{ 3 x 1 + 2 x 2 = 8 − 3 x 1 + 5 x 2 = − 1 \begin{cases} \begin{equation} \begin{split} 3x_1+2x_2 = 8\\ -3x_1+5x_2 = -1 \end{split} \end{equation} \end{cases} {3x1+2x2=8−3x1+5x2=−1
In
import sympy as syA = sy.Matrix([[3,2],[-3,5]
])print(A.rank())
print(A.condition_number().evalf())
Out
2
1.62131007404117
微分和积分
统计
插值
参考文献
- Python 科学计算入门:基于NumPy/SymPy/SciPy/Pandas的数值计算和数据处理方法 / [日]角明 著 ;陈欢 译. / ——北京:中国水利水电出版社,2021.9 / ISBN 978-7-5170-9769-3 / TP311.561
- KaTeX / Supported Functions