repo.or.cz
/
sympy.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
As the result of prevous commit, some tests started to XPASS (#605)
[sympy.git]
/
examples
/
print_gtk.py
blob
62d2d24584b7de1f910bb7004332afb56ab6c854
1
#!/usr/bin/env python
2
import
iam_sympy_example
3
4
"""examples for print_gtk. It prints in gtkmathview using mathml"""
5
6
from
sympy
import
*
7
from
sympy
.
printing
import
print_gtk
8
9
x
=
Symbol
(
'x'
)
10
11
#l1 = limit(sin(x)/x, x, 0, evaluate=False)
12
#print_gtk(l1)
13
14
l2
=
integrate
(
exp
(
x
), (
x
,
0
,
1
),
evaluate
=
False
)
15
print_gtk
(
l2
)