deep_causality_num_complex 0.1.2

Complex, quaternion, and octonion number types for deep_causality.
Documentation

DeepCausality Complex Numbers

Crates.io Docs.rs MIT licensed

Summary

Hypercomplex number types for the DeepCausality project:

  • Complex — the complex field, with the Complex32 and Complex64 aliases.
  • Quaternion — the non-commutative division ring, with Quaternion32 and Quaternion64.
  • Octonion — the non-associative division algebra, with Octonion32 and Octonion64.

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:

[dependencies]
deep_causality_num_complex = "0.1"

License

This project is licensed under the MIT license.