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

Core System

Namespace: mp_units

Module: mp_units.core

Header: <mp-units/core.h>

Dimensions

Name Symbol
dimension_one 1

Quantities

Quantity Character Dimension Traits Kind of Parent Equation Hierarchy
dimensionless scalar 1 kind dimensionless view

Units

Unit Name Symbol unit_symbol Definition
one 1
parts_per_million ppm mag_ratio<1, 1'000'000> * one
per_mille ‰ (%o) mag_ratio<1, 1000> * one
percent % mag_ratio<1, 100> * one
ppm alias to parts_per_million

Constants

Name Symbol unit_symbol Definition
pi π (pi) mag<pi_c> * one
π alias to pi