num-quaternion
Quaternions for Rust.
Usage
Run
to add this crate as a dependency to your project.
Documentation
Please find the reference documentation here on docs.rs.
Features
This crate can be used without the standard library (#![no_std]
) by disabling
the default std
feature. Use this in Cargo.toml
:
[]
= { = "0.1.0", = false }
Features based on Float
types are only available when std
or libm
is
enabled. Where possible, FloatCore
is used instead. Formatting complex
numbers only supports format width when std
is enabled.
Releases
Release notes are available in RELEASES.md.
Contributing
Contributions are highly welcome. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Bug Reports and Feature Requests
If you spot a bug, please report it here. If you would like a feature to be worked on with higher priority, please don't hesitate to let me know here.
License
Licensed under either of
at your option.
Acknowledgements
Thanks to @cuviper for the
num-complex
crate which served
as a model for this crate. It borrows a lot from it. This is by design,
so this crate can be used consistently with the other crates from the
rust-num
family of crates.