aboutsummaryrefslogtreecommitdiff
path: root/symbolic/D2Q9.py
blob: e3ac9de387959c1f1cf8c25ab8bcab5fd4916d38 (plain)
1
2
3
4
5
6
7
from sympy import Matrix
from itertools import product

d = 2
q = 9

c = [ Matrix(x) for x in product([-1,0,1], repeat=d) ]