docs: complex character added to the "Quantity character" chapter

This commit is contained in:
Mateusz Pusz
2025-01-24 12:03:54 +01:00
parent a74658937a
commit 7ea23dd8da

View File

@ -120,13 +120,14 @@ results in the `derived_dimension<isq::dim_length, per<isq::dim_time>>` type.
different [characters](../../appendix/glossary.md#character):
- scalar,
- complex,
- vector,
- tensor.
The quantity character in the **mp-units** library is implemented with the `quantity_character` enumeration:
```cpp
enum class quantity_character { scalar, vector, tensor };
enum class quantity_character { scalar, complex, vector, tensor };
```
!!! info