Skip to content

Sandwich ​

The sandwich product a b aˉa\,b\,\bar a: how a versor aa acts on xx, using the CliffordConjugate as the trailing factor.

Sandwich(versor, x)versor⋅x⋅versor‾\text{versor} \cdot x \cdot \overline{\text{versor}}
Typed signatures
TypePackageApplies
(number, number) -> numbergeometricalways

Domain: Geometric algebra

Examples

Basic #

e1e2 e1 e1e2‾e_1e_2\,e_1\,\overline{e_1e_2}

live ↗
InSandwich(e1e2,e1)\mathrm{Sandwich}(e_1e_2, e_1)Out−e1-e_1

A rotor acts on a vector; this one is not normalised, so the result is scaled

live ↗
InSandwich(1+e1e2,e1)\mathrm{Sandwich}(1+e_1e_2, e_1)Out−2e2-2e_2
About
Examples2

See also: CliffordConjugate, Reversion