DeepCausality Complex Numbers
Summary
Hypercomplex number types for the DeepCausality project:
Complex— the complex field, with theComplex32andComplex64aliases.Quaternion— the non-commutative division ring, withQuaternion32andQuaternion64.Octonion— the non-associative division algebra, withOctonion32andOctonion64.
Each type is generic over its real base and implements the algebra traits from deep_causality_algebra that its
structure supports. Complex is a Field and a ComplexField; Quaternion is an associative ring; Octonion is a
division algebra. All three carry rotation, conjugation, and norm operations.
The implementation is macro-free and unsafe-free. It depends on deep_causality_num and deep_causality_algebra.
Dependency
Add the crate to your Cargo.toml:
[]
= "0.1"
License
This project is licensed under the MIT license.