Unitforge
Overview
unitforge
is a Rust crate designed for save handling of physical quantities of units. New quantities and relations can be setup via small macros.
Features
- Quantity inference: resulting quantities of arithmetic operations are inferred at compile time.
- Unit conversion: Quantities can be set or read in arbitrary units.
- ndarray support: Quantities may be used as inner types for ndarray.
- 3D Vector and matrix operations: Structs for 3D vectors and matrices are included to allow fast and unitsafe work with them.
Contribute
All contributions are welcome! Feel free to implement new quantities or implement relations using impl_macros.rs