Skip to content

si::base_unit

kwikius edited this page Jul 17, 2021 · 23 revisions

Description

The SI base units are represented in PQS as a subset of normative units, 1 where each SI base unit is associated with a base quantity.

Signature

si::base_unit<base_quantityQb>

Header

#include <pqs/systems/si/unit.hpp>

Notation

typename model of notes
Qb base_quantity
typename type notes
Ub si::base_unit< Qb >
C conversion_factor<std::ratio<1>, exponent10<0> >

Provides

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< get_conversion_factor,C> true
  • [1] A base_unit is a normative_unit and has a conversion factor of 1.
Clone this wiki locally