Unitful is a Julia package for physical units. We want to support not only SI units but also any other unit system. We also want to minimize or in some cases eliminate the run-time penalty of units. There should be facilities for dimensional analysis. All of this should integrate easily with the usual mathematical operations and collections that are found in Julia base.

Features

  • Enables use of Unitful quantities with QuadGK.jl. PRs for other integration packages are welcome
  • Enables conversion between equivalent quantities of different dimensions, e.g. between energy and wavelength of a photon
  • Pretty print units and quantities in LaTeX format
  • Solves for the adimensional Pi groups in a list of Unitful parameters, according to the Buckingham-Pi Theorem
  • Convert to and from natural units in physics
  • Enables use of Unitful quantities with ChainRules.jl-compatible autodifferentiation systems

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Unitful.jl

Unitful.jl Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

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

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-11-07