small refactoring
[sympyx.git] / q.py
blob9c3d68e86986ad57cfd553718ad9282738dd875c
1 from timeit import default_timer as clock
2 from csympy import HashTable
3 from sympy import *
5 x = Symbol("x")
6 y = Symbol("y")
7 z = Symbol("z")
8 a = Symbol("x")
10 e = (1 + y + x + z)**8
12 #f = e*(e+1)
13 f = e
15 print f
16 t = clock()
17 g = f.expand()
18 t = clock() - t
19 print len(g.args)
20 print t