@hackage / quantities

Unit conversion and manipulation library.

Latest0.4.0

About

Metadata

  • Last updated , by jdreaver
  • License BSD-3-Clause
  • Categories Physics, Mathematics
  • Maintained by: John David Reaver <johndreaver@gmail.com>

  • Lottery factor: 0

Links

Installation

Readme

A library for creating and manipulating physical quantities, which are a numerical value associated with a unit of measurement. Included is an expression parser and a huge list of predefined quantities with which to parse strings into a Quantity datatype. Once created, a quantity can be converted to different units or queried for its dimensionality. A user can also operate on quantities arithmetically, and doing so uses automatic unit conversion and simplification.