mirror of
https://github.com/mpusz/mp-units.git
synced 2026-07-04 23:50:59 +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
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_ |
scalar | α² | kind | solid_ |
— | pow<2>(angle) |
view |
Units
| Unit Name | Symbol | unit_symbol | Definition |
|---|---|---|---|
degree |
° (deg) | deg |
mag_ratio<1, 360> * |
gradian |
ᵍ (grad) | grad |
mag_ratio<1, 400> * |
radian |
rad | rad |
kind: angle |
revolution |
rev | rev |
mag<2> * |
steradian |
sr | sr |
square(radian) |