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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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