mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-02 11:54:27 +02:00
docs: quantity_kind.rst
fixed and included in TOC
This commit is contained in:
@@ -13,4 +13,5 @@ Design Deep Dive
|
|||||||
|
|
||||||
design/directories
|
design/directories
|
||||||
design/quantity
|
design/quantity
|
||||||
|
design/quantity_kind
|
||||||
design/downcasting
|
design/downcasting
|
||||||
|
@@ -10,7 +10,7 @@ Kinds
|
|||||||
|
|
||||||
The first template parameter of ``quantity_kind`` is a ``Kind``.
|
The first template parameter of ``quantity_kind`` is a ``Kind``.
|
||||||
|
|
||||||
``Kind``s, by themselves:
|
``Kind`` s, by themselves:
|
||||||
|
|
||||||
* Wrap a ``Dimension``, and
|
* Wrap a ``Dimension``, and
|
||||||
* opt into the downcasting facility.
|
* opt into the downcasting facility.
|
||||||
@@ -34,7 +34,7 @@ Quantity kinds
|
|||||||
|
|
||||||
``quantity_kind`` wraps a ``quantity`` and layers over its dimensional analysis.
|
``quantity_kind`` wraps a ``quantity`` and layers over its dimensional analysis.
|
||||||
While all properties of the ``quantity`` apply transparently,
|
While all properties of the ``quantity`` apply transparently,
|
||||||
results are always ``quantity_kind``s related to the kind(s) of the argument(s).
|
results are always ``quantity_kind`` s related to the kind(s) of the argument(s).
|
||||||
|
|
||||||
One of the arguments to the dimensional analysis operators can also be ``Quantity``.
|
One of the arguments to the dimensional analysis operators can also be ``Quantity``.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user