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

39 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- This file is auto-generated. Do not edit manually. -->
<!-- Run: python3 scripts/systems_reference.py --force -->
# 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 |
|------|:------:|
| <span id="dim_angle"></span>`dim_angle` | α |
## Quantities
| Quantity | Character | Dimension | Traits | Kind of | Parent | Equation | Hierarchy |
|----------|:---------:|:---------:|:------:|:-------:|:------:|----------|:---------:|
| <span id="angle"></span><code>angle</code> | scalar | α | kind | <code>[angle](#angle)</code> | — | — | [view](../hierarchies/angle.md) |
| <span id="solid_angle"></span><code>solid_<wbr>angle</code> | scalar | α² | kind | <code>[solid_<wbr>angle](#solid_angle)</code> | — | <code>pow<2>([angle](#angle))</code> | [view](../hierarchies/solid_angle.md) |
## Units
| Unit Name | Symbol | unit_symbol | Definition |
|-----------|:------:|:-----------:|------------|
| <span id="degree"></span><code>degree</code> | ° (deg) | `deg` | <code>mag_ratio<1, 360> * <wbr>[revolution](#revolution)</code> |
| <span id="gradian"></span><code>gradian</code> | ᵍ (grad) | `grad` | <code>mag_ratio<1, 400> * <wbr>[revolution](#revolution)</code> |
| <span id="radian"></span><code>radian</code> | rad | `rad` | <code>kind: [angle](#angle)</code> |
| <span id="revolution"></span><code>revolution</code> | rev | `rev` | <code>mag<2> * <wbr>[π](core.md#π) * <wbr>[radian](#radian)</code> |
| <span id="steradian"></span><code>steradian</code> | sr | `sr` | <code>square([radian](#radian))</code> |