clifford.conformalize

clifford.conformalize(layout, added_sig=[1, -1], *, mvClass=<class 'clifford._multivector.MultiVector'>, **kwargs)[source]

Conformalize a Geometric Algebra

Given the Layout for a GA of signature (p, q), this will produce a GA of signature (p+1, q+1), as well as return a new list of blades and some stuff. stuff is a dict containing the null basis blades, and some up/down functions for projecting in/out of the CGA.

Parameters
  • layout (clifford.Layout) – layout of the GA to conformalize (the base)

  • added_sig (list-like) – list of +1, -1 denoted the added signatures

  • **kwargs – passed to Cl() used to generate conformal layout

Returns

Examples

>>> from clifford import Cl, conformalize
>>> G2, blades = Cl(2)
>>> G2c, bladesc, stuff = conformalize(G2)
>>> locals().update(bladesc)
>>> locals().update(stuff)