Expand description
Unit conversion and fundamental physical constants.
Provides enumerations for common measurement units and conversion functions between them, as well as a struct containing widely-used physical constants in SI units.
Structs§
- Physical
Constants - Fundamental physical constants in SI units (CODATA 2018 values).
Enums§
- Energy
Unit - Units of energy.
- Length
Unit - Units of length.
- Mass
Unit - Units of mass.
- Pressure
Unit - Units of pressure.
- Temperature
Unit - Units of temperature.
Functions§
- convert_
energy - Convert an energy value from
fromunits totounits. - convert_
length - Convert a length value from
fromunits totounits. - convert_
mass - Convert a mass value from
fromunits totounits. - convert_
pressure - Convert a pressure value from
fromunits totounits. - convert_
temperature - Convert a temperature value from
fromunits totounits.