Unit Conversion and Dimensional Analysis Library
2.3.0
A compile-time c++14 unit conversion library
|
Unit Containers | Defines a series of classes which contain dimensioned values. Unit containers store a value, and support various arithmetic operations |
Unit Types | Defines a series of classes which represent units. These types are tags used by the conversion function, to create compound units, or to create unit_t types. By themselves, they are not containers and have no stored value |
Unit Manipulators | Defines a series of classes used to manipulate unit types, such as inverse<> , squared<> , and metric prefixes. Unit manipulators can be chained together, e.g. inverse<squared<pico<time::seconds>>> to represent picoseconds^-2 |
Compile-time Unit Manipulators | Defines a series of classes used to manipulate unit_value_t types at compile-time, such as unit_value_add<> , unit_value_sqrt<> , etc. Compile-time manipulators can be chained together, e.g. unit_value_sqrt<unit_value_add<unit_value_power<a, 2>, unit_value_power<b, 2>>> to represent `c = sqrt(a^2 + b^2) |
Unit Math | Defines a collection of unit-enabled, strongly-typed versions of <cmath> functions |
Explicit Conversion | Functions used to convert values of one logical type to another |
Type Traits | Defines a series of classes to obtain unit type information at compile-time |