DynamicQuantities defines a simple statically-typed Quantity type for Julia. Physical dimensions are stored as a value, as opposed to a parametric type, as in Unitful.jl. This can greatly improve both runtime performance, by avoiding type instabilities, and startup time, as it avoids overspecializing methods.
Features
- DynamicQuantities can greatly outperform Unitful when the compiler cannot infer dimensions in a function
- You can create a Quantity object by using the convenience macro u"..."
- You can also construct values explicitly with the Quantity type
- There are a variety of physical constants accessible via the Constants submodule
- You can also choose to not eagerly convert to SI base units
- You can also convert a quantity in regular base SI units to symbolic units with uconvert
Categories
Data VisualizationLicense
Apache License V2.0Follow DynamicQuantities.jl
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of DynamicQuantities.jl!