Skip to main content

Module generic

Module generic 

Source
Expand description

Generic (runtime-signature) Clifford algebra operations.

These functions work directly on coefficient slices with a runtime signature (p, q, r), unlike the const-generic Multivector<P,Q,R> API. They serve the WASM fallback path and any consumer that needs signature selection at runtime.

Functionsยง

blade_product
Compute the result basis-blade index and sign for the geometric product of two basis blades i and j in Cl(p, q, r).
generic_geometric_product
Compute the full geometric product of two multivectors in Cl(p, q, r).