clifford
provides several predefined algebras,
g2
: 2D Euclideang3
: 3D Euclideang4
: 4D Euclideang2c
: Conformal space for G2 (G3,1)g3c
: Conformal space for G3 (G4,1)You can use them like so
from clifford import g2
g2.e1*g2.e2
The layout
and blades
are also available,
g2.layout
g2.blades
Or, specifically import the blades you need for your app
from clifford.g2 import e1,e2,e12
e1*e2==e12