Skip to content

Grade ​

The single grade of a homogeneous multivector xx; undefined if xx mixes grades.

Grade(x)the single grade of a homogeneous multivector xx; undefined if xx mixes grades
Typed signatures
TypePackageApplies
(number) -> integergeometricalways

Domain: Geometric algebra

Examples

Basic #

A product of two distinct generators is a grade-2 blade

live ↗
InGrade(e1e2)\mathrm{Grade}(e_1e_2)Out22

A rotor mixes grades 0 and 2, so it has no single grade and stays unevaluated

live ↗
InGrade(1+e1e2)\mathrm{Grade}(1+e_1e_2)OutGrade(e1e2+1)\mathrm{Grade}(e_1e_2+1)
About
Examples2

See also: GradePart