Files
mp-units/docs/reference/systems_reference/systems/angular.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

1.7 KiB
Raw Blame History

Angular System

Namespace: mp_units::angular

Module: mp_units.systems

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

Secondary Headers:

  • <mp-units/systems/angular/math.h>
  • <mp-units/systems/angular/units.h>

Dimensions

Name Symbol
dim_angle α

Quantities

Quantity Character Dimension Traits Kind of Parent Equation Hierarchy
angle scalar α kind angle view
solid_angle scalar α² kind solid_angle pow<2>(angle) view

Units

Unit Name Symbol unit_symbol Definition
degree ° (deg) deg mag_ratio<1, 360> * revolution
gradian ᵍ (grad) grad mag_ratio<1, 400> * revolution
radian rad rad kind: angle
revolution rev rev mag<2> * π * radian
steradian sr sr square(radian)