cga (clifford.cga)

Object Oriented Conformal Geometric Algebra.

Examples

>>> from clifford import Cl
>>> from clifford.cga import CGA
>>> g3, blades = Cl(3)
>>> locals().update(blades)
>>> g3c = CGA(g3)
>>> C = g3c.round(3)             # create random sphere
>>> T = g3c.translation(e1+e2)   # create translation
>>> C_ = T(C)                    # translate the sphere
>>> C_.center                    # compute center of sphere
-(1.0^e4) - (1.0^e5)

The CGA

CGA(layout_orig)

Conformal Geometric Algebra

Objects

Flat(cga, *args)

A line, plane, or hyperplane.

Round(cga, *args)

A point pair, circle, sphere or hyper-sphere.

Operators

Rotation(cga, *args)

A Rotation

Dilation(cga, *args)

A global dilation

Translation(cga, *args)

A Translation

Transversion(cga, *args)

A Transversion

Meta-Class

CGAThing(cga)

base class for cga objects and operators.