mirror of
https://github.com/mpusz/mp-units.git
synced 2026-07-05 08:01:01 +02:00
036efbdc0b
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>
1.7 KiB
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_ |
ppm | — | mag_ratio<1, 1'000'000> * |
per_ |
‰ (%o) | — | mag_ratio<1, 1000> * |
percent |
% | — | mag_ratio<1, 100> * |
ppm |
— | — | alias to parts_ |
Constants
| Name | Symbol | unit_symbol | Definition |
|---|---|---|---|
pi |
π (pi) | — | mag<pi_c> * |
π |
— | — | alias to pi |