Professional Documents
Culture Documents
Sympy: Symbolic Mathematics in Pure Python: Sympy Development Team University of Nevada, Reno
Sympy: Symbolic Mathematics in Pure Python: Sympy Development Team University of Nevada, Reno
March 2, 2011
Presentation plan
Introduction to SymPy
What is SymPy and why we need it?
Pure Python pros and cons
List of features
How to contribute
Examples
Graph kcoloring with Gr
obner bases
2 of 18
What is SymPy?
3 of 18
What is SymPy?
3 of 18
x0+
4 of 18
1
109
2
1048
3
10284
4
101641
5
107836
x0+
4 of 18
1
109
2
1048
3
10284
4
101641
5
107836
x0+
4 of 18
1
109
2
1048
3
10284
4
101641
5
107836
x0+
5 of 18
x0+
5 of 18
Problems:
all invent their own language
6 of 18
Problems:
all invent their own language
6 of 18
7 of 18
7 of 18
7 of 18
9 of 18
9 of 18
12 of 18
5
12
11
8
10
13 of 18
13 of 18
12
12
11
11
10
10
Ik = {xik 1 : i V }
14 of 18
Ik = {xik 1 : i V }
14 of 18
Ik = {xik 1 : i V }
14 of 18
Ik = {xik 1 : i V }
14 of 18
x4 x12 ,
x5 + x11 + x12 ,
x6 x11 ,
x7 x12 ,
12
11
x8 + x11 + x12 ,
10
x9 x11 ,
x10 + x11 + x12 ,
2
x11 2 + x11 x12 + x12
,
x12 3 1}
15 of 18
16 of 18
Time [s]
Maxima
Axiom
Mathematica
17 of 18
[ ]
1 00 1
dx
SymPy
18 of 18