clifford.cga.Translation

class clifford.cga.Translation(cga, *args)[source]

A Translation

Can be constructed from a vector in base space or a null vector, or nothing.

Parameters:args ([none, clifford.Multivector]) –

if none, a random translation will be generated several types of Multivectors can be used:

  • base vector - vector in base space
  • null vector
  • existing translation rotor

Examples

>>> T = cga.translation()       # from None
>>> T = cga.translation(e1+e2)  # from base vector
>>> T = cga.translation(cga.up(e1+e2)) # from null vector
>>> T = cga.translation(T.mv)  # from existing translation rotor

Methods

__init__ Initialize self.
inverted inverted version of this thing.
involuted inverted version of this thing.