Files
mp-units/docs/reference/systems_reference/systems/natural.md
T
Mateusz Pusz 036efbdc0b feat(scripts): two-axis character labels and a merged Traits column in the reference
Update the systems reference generator for the two-axis quantity character and to reduce
the quantities table width:

- The Character column now prints the order with a `complex` prefix only when the field is
  complex (`scalar`, `complex scalar`, `vector`, `tensor`, `complex vector`,
  `complex tensor`), replacing the old `Real`/`Complex`/`Vector`/`Tensor` labels that mixed
  the two axes and could not express complex vectors or tensors.
- The separate `is_kind` and `non_negative` boolean columns are merged into one `Traits`
  column that shows `kind` and/or `≥ 0` only when set (blank otherwise), dropping a column
  and the per-row ticks.

Regenerated the affected systems reference pages.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 00:21:18 +02:00

4.1 KiB

Natural System

Namespace: mp_units::natural

Module: mp_units.systems

Header: <mp-units/systems/natural.h>

Dimensions

Name Symbol
dim_energy E

Quantities

Quantity Character Dimension Traits Kind of Parent Equation Hierarchy
acceleration scalar E ≥ 0 energy energy velocity / duration view
angular_measure scalar kind angular_measure dimensionless view
dimensionless scalar 1 kind dimensionless
duration scalar E⁻¹ inverse_energy inverse_energy view
energy scalar E kind
≥ 0
energy view
energy_squared scalar kind energy_squared pow<2>(energy) view
force scalar energy_squared energy_squared energy_squared view
inverse_energy scalar E⁻¹ kind inverse_energy inverse(energy) view
length scalar E⁻¹ inverse_energy inverse_energy view
mass scalar E ≥ 0 energy energy view
momentum scalar E ≥ 0 energy energy mass * velocity view
speed scalar kind speed dimensionless length / duration view
velocity scalar speed speed view

Units

Unit Name Symbol unit_symbol Definition
electronvolt eV kind: energy
gigaelectronvolt GeV si::giga<electronvolt>

Constants

Name Symbol unit_symbol Definition
reduced_planck_constant \u210f (hbar) hbar one
speed_of_light_in_vacuum c c one