Expand description
SIMD-optimized CPU operations for geometric algebra.
This module provides CPU-based SIMD acceleration for geometric algebra operations when GPU is unavailable or for small batch sizes where GPU overhead would be too high.
Uses the wide crate for portable SIMD that works on x86, ARM, and WASM.
Structs§
- Simd
Batch - Batch processing context for SIMD operations.
Functions§
- addition_
simd - SIMD-optimized addition of two multivectors.
- conjugate_
simd - SIMD-optimized conjugate (Clifford conjugate).
- dot_
simd - SIMD-optimized dot product (inner product).
- exp_
bivector_ simd - SIMD-optimized exponential for bivectors (creates rotors).
- geometric_
product_ simd - SIMD-optimized geometric product for Cl(3,0).
- grade_
involution_ simd - SIMD-optimized grade involution (main involution).
- lerp_
simd - SIMD-optimized linear interpolation.
- norm_
simd - SIMD-optimized norm (magnitude).
- norm_
squared_ simd - SIMD-optimized squared magnitude (norm squared).
- normalize_
simd - SIMD-optimized normalization.
- reverse_
simd - SIMD-optimized reverse (reversion) of a multivector.
- rotor_
slerp_ simd - SIMD-optimized rotor spherical linear interpolation (SLERP).
- sandwich_
simd - SIMD-optimized sandwich product: b * a * ~b
- scalar_
mul_ simd - SIMD-optimized scalar multiplication.
- subtraction_
simd - SIMD-optimized subtraction of two multivectors.