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

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow DynamicQuantities.jl

DynamicQuantities.jl Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DynamicQuantities.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-12-07