In [30]:
from sympy import *
from galgebra.ga import Ga
# create G3 from the orthonoormal basis: e1, e2,n.
(ga,e1,e2,e3) = Ga.build('e1 e2 e3',g=[1,1,1])
j = ga.I()
In [31]:
vector = lambda s: ga.mv(s, 'vector')
v,w = vector('v'), vector('w')
In [32]:
v*w
Out[32]:
In [ ]: