Predefined Geometric AlgebrasΒΆ

clifford provides several predifined algebras,

  • g2 : 2D Euclidean
  • g3 : 3D Euclidean
  • g4 : 4D Euclidean
  • g2c : Conformal space for G2 (G3,1)
  • g3c : Conformal space for G3 (G4,1)

You can use them like so

In [ ]:
from clifford import g2

g2.e1*g2.e2

The layout and blades are also available,

In [ ]:
g2.layout
In [ ]:
g2.blades

Or, specifically import the blades you need for your app

In [ ]:
from clifford.g2 import e1,e2,e12
e1*e2==e12