mirror of
https://github.com/mpusz/mp-units.git
synced 2026-07-06 16:40:53 +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>
4.1 KiB
4.1 KiB
Natural System
Namespace: mp_units::natural
Module: mp_units.systems
Header: <mp-units/systems/natural.h>
Dimensions
| Name | Symbol |
|---|---|
dim_energy |
E |
Quantities
| Quantity | Character | Dimension | Traits | Kind of | Parent | Equation | Hierarchy |
|---|---|---|---|---|---|---|---|
acceleration |
scalar | E | ≥ 0 | energy |
energy |
velocity / |
view |
angular_ |
scalar | — | kind | angular_ |
dimensionless |
— | view |
dimensionless |
scalar | 1 | kind | dimensionless |
— | — | — |
duration |
scalar | E⁻¹ | inverse_ |
inverse_ |
— | view | |
energy |
scalar | E | kind ≥ 0 |
energy |
— | — | view |
energy_ |
scalar | E² | kind | energy_ |
— | pow<2>(energy) |
view |
force |
scalar | E² | energy_ |
energy_ |
energy_ |
view | |
inverse_ |
scalar | E⁻¹ | kind | inverse_ |
— | inverse(energy) |
view |
length |
scalar | E⁻¹ | inverse_ |
inverse_ |
— | view | |
mass |
scalar | E | ≥ 0 | energy |
energy |
— | view |
momentum |
scalar | E | ≥ 0 | energy |
energy |
mass * |
view |
speed |
scalar | — | kind | speed |
dimensionless |
length / |
view |
velocity |
scalar | — | speed |
speed |
— | view |
Units
| Unit Name | Symbol | unit_symbol | Definition |
|---|---|---|---|
electronvolt |
eV | — | kind: energy |
gigaelectronvolt |
— | GeV |
si::giga<electronvolt> |
Constants
| Name | Symbol | unit_symbol | Definition |
|---|---|---|---|
reduced_ |
\u210f (hbar) | hbar |
one |
speed_ |
c | c |
one |