mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 10:27:16 +02:00
docs: complex
character added to the "Quantity character" chapter
This commit is contained in:
@ -120,13 +120,14 @@ results in the `derived_dimension<isq::dim_length, per<isq::dim_time>>` type.
|
|||||||
different [characters](../../appendix/glossary.md#character):
|
different [characters](../../appendix/glossary.md#character):
|
||||||
|
|
||||||
- scalar,
|
- scalar,
|
||||||
|
- complex,
|
||||||
- vector,
|
- vector,
|
||||||
- tensor.
|
- tensor.
|
||||||
|
|
||||||
The quantity character in the **mp-units** library is implemented with the `quantity_character` enumeration:
|
The quantity character in the **mp-units** library is implemented with the `quantity_character` enumeration:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
enum class quantity_character { scalar, vector, tensor };
|
enum class quantity_character { scalar, complex, vector, tensor };
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
|
Reference in New Issue
Block a user