Modules§
- epga1d
- epga2d
- epga3d
- hpga1d
- hpga2d
- hpga3d
- polynomial
- Solves polynomials with real valued coefficients up to degree 4
- ppga1d
- ppga2d
- ppga3d
- simd
Macros§
Traits§
- Automorphism
- Negates elements with
grade % 2 == 1 - Conjugation
- Negates elements with
(grade + 3) % 4 < 2 - Dual
- Element order reversed
- Exp
- The exponential function
- Geometric
Product - General multi vector multiplication
- Geometric
Quotient - General multi vector division
- Inner
Product - Geometric product grade filtered by
t == (r - s).abs() - Inverse
- Raises a number to the scalar power of
-1.0 - Left
Contraction - Geometric product grade filtered by
t == s - r - Ln
- The natural logarithm
- Magnitude
- Length as scalar
- One
- All elements set to
0.0, except for the scalar, which is set to1.0 - Outer
Product - Geometric product grade filtered by
t == r + s - Powf
- Raises a number to an floating point scalar power
- Powi
- Raises a number to an integer scalar power
- Regressive
Product - Dual of the geometric product grade filtered by
t == r + s - Reversal
- Negates elements with
grade % 4 >= 2 - Right
Contraction - Geometric product grade filtered by
t == r - s - Scalar
Product - Geometric product grade filtered by
t == 0 - Signum
- Direction without magnitude (set to scalar
-1.0or1.0) - Squared
Magnitude - Square of the magnitude
- Transformation
self * other * self.reversion()- Zero
- All elements set to
0.0