Skip to main content

reverse_simd

Function reverse_simd 

Source
pub fn reverse_simd(a: &GpuMultivector) -> GpuMultivector
Expand description

SIMD-optimized reverse (reversion) of a multivector.

For Cl(3,0), the reverse negates bivector and pseudoscalar components: ~(a + be12 + ce13 + de23 + ee123) = a - be12 - ce13 - de23 - ee123