mp_units::si¶
The International System of Units (SI)
Description¶
The system of units built on top of the isq. It provides the SI base units, the derived units with special names, the SI prefixes, and the defining constants of the 2019 SI.
quantity distance = 2 * km + 500 * m; // 2500 m
quantity speed = (distance / (5. * min)).in(km / h); // 30 km/h
Types¶
Enums¶
| Name | Description |
|---|---|
prefix_range | Which SI prefixes invoke_with_prefixed may choose |
Functions¶
| Name | Description |
|---|---|
acos | |
asin | |
atan | |
atan2 | |
cos | |
invoke_with_prefixed | Calls an invocable with a quantity scaled to an automatically selected SI prefix |
operator+ | Addition operators |
operator- | Subtraction operators |
sin | |
tan |
Variables¶
| Name |
|---|
absolute_zero |
ampere |
atto |
avogadro_constant |
becquerel |
boltzmann_constant |
candela |
candela_of |
centi |
coulomb |
dalton [deprecated] |
deca |
deci |
degree_Celsius |
elementary_charge |
exa |
farad |
femto |
giga |
gram |
gray |
hecto |
henry |
hertz |
hyperfine_structure_transition_frequency_of_cs |
ice_point |
joule |
katal |
kelvin |
kilo |
kilogram |
lumen |
lumen_of |
luminous_efficacy |
lux |
lux_of |
magnetic_constant [deprecated] |
mega |
metre |
micro |
milli |
mole |
nano |
newton |
ohm |
pascal |
peta |
pico |
planck_constant |
quecto |
quetta |
radian |
reduced_planck_constant [deprecated] |
ronna |
ronto |
second |
siemens |
sievert |
speed_of_light_in_vacuum |
standard_gravity [deprecated] |
steradian |
tera |
tesla |
volt |
watt |
weber |
yocto |
yotta |
zepto |
zeroth_degree_Celsius [deprecated] |
zeroth_kelvin [deprecated] |
zetta |
Using Declarations¶
| Name |
|---|
arcminute |
arcsecond |
are |
astronomical_unit |
bar |
day |
degree |
electronvolt |
hectare |
hour |
litre |
minute |
tonne |
See Also¶
- The International System of Units (SI) in the User's Guide
- SI System for every entity it defines