clifford.cga.Rotation

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

A Rotation

Can be constructed from a generator, rotor, or none

Parameters

args ([none, clifford.Multivector]) –

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

  • bivector - interpreted as the generator

  • existing translation rotor

Examples

>>> cga = CGA(3)
>>> locals().update(cga.blades)
>>> R = cga.rotation()          # from None
>>> R = cga.rotation(e12+e23)   # from bivector
>>> R = cga.rotation(R.mv)   # from bivector

Methods

__init__

Initialize self.

inverted

inverted version of this thing.

involuted

inverted version of this thing.