-
Notifications
You must be signed in to change notification settings - Fork 1
si::base_unit
kwikius edited this page Jul 17, 2021
·
23 revisions
| Home | SI System| SI unit classes|
The SI base units in PQS are expressed as a subset of normative units, 1. Each SI base unit is associated with one of the SI base quantities.
si::base_unit<
base_quantity>
#include <pqs/systems/si/unit.hpp>
- #include <pqs/systems/si/units/length_unit.hpp>
- #include <pqs/systems/si/units/time_unit.hpp>
- #include <pqs/systems/si/units/mass_unit.hpp>
- #include <pqs/systems/si/units/temperature_unit.hpp>
- #include <pqs/systems/si/units/current_unit.hpp>
- #include <pqs/systems/si/units/substance_unit.hpp>
- #include <pqs/systems/si/units/intensity_unit.hpp>
typename | model of | notes |
---|---|---|
Qb | base_quantity |
typename | type | notes |
---|---|---|
Ub | si::base_unit< Qb > |
concept | result |
---|---|
unit< Ub > | true |
inline constant | result |
---|---|
si::is_normative_unit< Ub > | true |
si::is_prefixable< Ub > | false. By nature base units don't have prefixes (the kg is a special case where kg is treated as the base unit symbol) |
get_measurement_system< Ub > | si_measurement_system |
std::is_same_v< get_conversion_factor<Ub>,conversion_factor<std::ratio<1>, exponent10<0> > |
true |
- [1] A base_unit is a normative_unit and has a conversion factor of 1.