mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
10
README.md
10
README.md
@@ -28,9 +28,9 @@ analysis and unit/quantity manipulation. The basic idea and design heavily bases
|
|||||||
Here is a small example of possible operations:
|
Here is a small example of possible operations:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
#include <units/physical/si/derived/area.h>
|
#include <units/physical/si/area.h>
|
||||||
#include <units/physical/si/derived/frequency.h>
|
#include <units/physical/si/frequency.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
|
|
||||||
using namespace units::physical::si;
|
using namespace units::physical::si;
|
||||||
|
|
||||||
@@ -62,8 +62,8 @@ the below example for a quick preview of basic library features:
|
|||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/physical/si/international/derived/speed.h>
|
#include <units/physical/si/international/speed.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@@ -3,6 +3,7 @@
|
|||||||
- **0.7.0 WIP**
|
- **0.7.0 WIP**
|
||||||
- (!) refactor: `ScalableNumber` renamed to `QuantityValue`
|
- (!) refactor: `ScalableNumber` renamed to `QuantityValue`
|
||||||
- (!) refactor: output stream operators moved to the `units/quantity_io.h` header file
|
- (!) refactor: output stream operators moved to the `units/quantity_io.h` header file
|
||||||
|
- (!) refactor: Refactored the library file tree
|
||||||
- refactor: quantity (kind) point updated to reflect latest changes to `quantity`
|
- refactor: quantity (kind) point updated to reflect latest changes to `quantity`
|
||||||
- refactor: basic concepts, `quantity` and `quantity_cast` refactored
|
- refactor: basic concepts, `quantity` and `quantity_cast` refactored
|
||||||
- refactor: `abs()` definition refactored to be more explicit about the return type
|
- refactor: `abs()` definition refactored to be more explicit about the return type
|
||||||
|
@@ -3,9 +3,9 @@ Quick Start
|
|||||||
|
|
||||||
Here is a small example of possible operations::
|
Here is a small example of possible operations::
|
||||||
|
|
||||||
#include <units/physical/si/derived/area.h>
|
#include <units/physical/si/area.h>
|
||||||
#include <units/physical/si/derived/frequency.h>
|
#include <units/physical/si/frequency.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
|
|
||||||
using namespace units::physical::si;
|
using namespace units::physical::si;
|
||||||
|
|
||||||
@@ -38,8 +38,8 @@ performed without sacrificing on accuracy. Please see the below example for a qu
|
|||||||
of basic library features::
|
of basic library features::
|
||||||
|
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/physical/si/international/derived/speed.h>
|
#include <units/physical/si/international/speed.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Bitrate
|
Bitrate
|
||||||
=======
|
=======
|
||||||
|
|
||||||
.. doxygenfile:: data/derived/bitrate.h
|
.. doxygenfile:: data/bitrate.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Information
|
Information
|
||||||
===========
|
===========
|
||||||
|
|
||||||
.. doxygenfile:: data/base/information.h
|
.. doxygenfile:: data/information.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Absorbed Dose
|
Absorbed Dose
|
||||||
=============
|
=============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/absorbed_dose.h
|
.. doxygenfile:: si/absorbed_dose.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Acceleration
|
Acceleration
|
||||||
============
|
============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/acceleration.h
|
.. doxygenfile:: si/acceleration.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Amount of Substance
|
Amount of Substance
|
||||||
===================
|
===================
|
||||||
|
|
||||||
.. doxygenfile:: si/base/amount_of_substance.h
|
.. doxygenfile:: si/amount_of_substance.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Area
|
Area
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/area.h
|
.. doxygenfile:: si/area.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Capacitance
|
Capacitance
|
||||||
===========
|
===========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/capacitance.h
|
.. doxygenfile:: si/capacitance.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Catalytic Activity
|
Catalytic Activity
|
||||||
==================
|
==================
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/catalytic_activity.h
|
.. doxygenfile:: si/catalytic_activity.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Acceleration
|
Acceleration
|
||||||
============
|
============
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/derived/acceleration.h
|
.. doxygenfile:: si/cgs/acceleration.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Area
|
Area
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/derived/area.h
|
.. doxygenfile:: si/cgs/area.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Energy
|
Energy
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/derived/energy.h
|
.. doxygenfile:: si/cgs/energy.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Force
|
Force
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/derived/force.h
|
.. doxygenfile:: si/cgs/force.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/base/length.h
|
.. doxygenfile:: si/cgs/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Mass
|
Mass
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/base/mass.h
|
.. doxygenfile:: si/cgs/mass.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Power
|
Power
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/derived/power.h
|
.. doxygenfile:: si/cgs/power.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Pressure
|
Pressure
|
||||||
========
|
========
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/derived/pressure.h
|
.. doxygenfile:: si/cgs/pressure.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Speed
|
Speed
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/derived/speed.h
|
.. doxygenfile:: si/cgs/speed.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Time
|
Time
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/cgs/base/time.h
|
.. doxygenfile:: si/cgs/time.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Charge Density
|
Charge Density
|
||||||
==============
|
==============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/charge_density.h
|
.. doxygenfile:: si/charge_density.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Concentration
|
Concentration
|
||||||
=============
|
=============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/concentration.h
|
.. doxygenfile:: si/concentration.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Conductance
|
Conductance
|
||||||
===========
|
===========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/conductance.h
|
.. doxygenfile:: si/conductance.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Current density
|
Current density
|
||||||
===============
|
===============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/current_density.h
|
.. doxygenfile:: si/current_density.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Density
|
Density
|
||||||
=======
|
=======
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/density.h
|
.. doxygenfile:: si/density.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Dynamic Viscosity
|
Dynamic Viscosity
|
||||||
=================
|
=================
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/dynamic_viscosity.h
|
.. doxygenfile:: si/dynamic_viscosity.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Electric Charge
|
Electric Charge
|
||||||
===============
|
===============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/electric_charge.h
|
.. doxygenfile:: si/electric_charge.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Electric Current
|
Electric Current
|
||||||
================
|
================
|
||||||
|
|
||||||
.. doxygenfile:: si/base/electric_current.h
|
.. doxygenfile:: si/electric_current.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Electric Field Strength
|
Electric Field Strength
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/electric_field_strength.h
|
.. doxygenfile:: si/electric_field_strength.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Energy
|
Energy
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/energy.h
|
.. doxygenfile:: si/energy.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Force
|
Force
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/force.h
|
.. doxygenfile:: si/force.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Acceleration
|
Acceleration
|
||||||
============
|
============
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/acceleration.h
|
.. doxygenfile:: si/fps/acceleration.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Area
|
Area
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/area.h
|
.. doxygenfile:: si/fps/area.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Density
|
Density
|
||||||
=======
|
=======
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/density.h
|
.. doxygenfile:: si/fps/density.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Energy
|
Energy
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/energy.h
|
.. doxygenfile:: si/fps/energy.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Force
|
Force
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/force.h
|
.. doxygenfile:: si/fps/force.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/base/length.h
|
.. doxygenfile:: si/fps/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Mass
|
Mass
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/base/mass.h
|
.. doxygenfile:: si/fps/mass.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Power
|
Power
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/power.h
|
.. doxygenfile:: si/fps/power.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Pressure
|
Pressure
|
||||||
========
|
========
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/pressure.h
|
.. doxygenfile:: si/fps/pressure.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Speed
|
Speed
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/speed.h
|
.. doxygenfile:: si/fps/speed.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Time
|
Time
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/base/time.h
|
.. doxygenfile:: si/fps/time.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Volume
|
Volume
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/fps/derived/volume.h
|
.. doxygenfile:: si/fps/volume.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Frequency
|
Frequency
|
||||||
=========
|
=========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/frequency.h
|
.. doxygenfile:: si/frequency.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Heat Capacity
|
Heat Capacity
|
||||||
=============
|
=============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/heat_capacity.h
|
.. doxygenfile:: si/heat_capacity.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/iau/base/length.h
|
.. doxygenfile:: si/iau/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/imperial/base/length.h
|
.. doxygenfile:: si/imperial/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Inductance
|
Inductance
|
||||||
==========
|
==========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/inductance.h
|
.. doxygenfile:: si/inductance.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Area
|
Area
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/international/derived/area.h
|
.. doxygenfile:: si/international/area.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/international/base/length.h
|
.. doxygenfile:: si/international/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Speed
|
Speed
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: speed/derived/speed.h
|
.. doxygenfile:: speed/speed.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Volume
|
Volume
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/international/derived/volume.h
|
.. doxygenfile:: si/international/volume.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/base/length.h
|
.. doxygenfile:: si/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Luminance
|
Luminance
|
||||||
=========
|
=========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/luminance.h
|
.. doxygenfile:: si/luminance.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Luminous Intensity
|
Luminous Intensity
|
||||||
==================
|
==================
|
||||||
|
|
||||||
.. doxygenfile:: si/base/luminous_intensity.h
|
.. doxygenfile:: si/luminous_intensity.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Magnetic Flux
|
Magnetic Flux
|
||||||
=============
|
=============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/magnetic_flux.h
|
.. doxygenfile:: si/magnetic_flux.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Magnetic Induction
|
Magnetic Induction
|
||||||
==================
|
==================
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/magnetic_induction.h
|
.. doxygenfile:: si/magnetic_induction.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Mass
|
Mass
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/base/mass.h
|
.. doxygenfile:: si/mass.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Molar Energy
|
Molar Energy
|
||||||
============
|
============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/molar_energy.h
|
.. doxygenfile:: si/molar_energy.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Momentum
|
Momentum
|
||||||
========
|
========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/momentum.h
|
.. doxygenfile:: si/momentum.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Permeability
|
Permeability
|
||||||
============
|
============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/permeability.h
|
.. doxygenfile:: si/permeability.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Permittivity
|
Permittivity
|
||||||
============
|
============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/permittivity.h
|
.. doxygenfile:: si/permittivity.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Power
|
Power
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/power.h
|
.. doxygenfile:: si/power.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Pressure
|
Pressure
|
||||||
========
|
========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/pressure.h
|
.. doxygenfile:: si/pressure.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Resistance
|
Resistance
|
||||||
==========
|
==========
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/resistance.h
|
.. doxygenfile:: si/resistance.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Speed
|
Speed
|
||||||
=====
|
=====
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/speed.h
|
.. doxygenfile:: si/speed.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Surface Tension
|
Surface Tension
|
||||||
===============
|
===============
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/surface_tension.h
|
.. doxygenfile:: si/surface_tension.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Thermal Conductivity
|
Thermal Conductivity
|
||||||
====================
|
====================
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/thermal_conductivity.h
|
.. doxygenfile:: si/thermal_conductivity.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Temperature
|
Temperature
|
||||||
===========
|
===========
|
||||||
|
|
||||||
.. doxygenfile:: si/base/thermodynamic_temperature.h
|
.. doxygenfile:: si/thermodynamic_temperature.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Time
|
Time
|
||||||
====
|
====
|
||||||
|
|
||||||
.. doxygenfile:: si/base/time.h
|
.. doxygenfile:: si/time.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/typographic/base/length.h
|
.. doxygenfile:: si/typographic/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Length
|
Length
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/us/base/length.h
|
.. doxygenfile:: si/us/length.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Voltage
|
Voltage
|
||||||
=======
|
=======
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/voltage.h
|
.. doxygenfile:: si/voltage.h
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
Volume
|
Volume
|
||||||
======
|
======
|
||||||
|
|
||||||
.. doxygenfile:: si/derived/volume.h
|
.. doxygenfile:: si/volume.h
|
||||||
|
@@ -16,7 +16,7 @@ provide the following:
|
|||||||
For example, to provide support for the ``std::chrono::duration`` it is enough to define::
|
For example, to provide support for the ``std::chrono::duration`` it is enough to define::
|
||||||
|
|
||||||
#include <units/customization_points.h>
|
#include <units/customization_points.h>
|
||||||
#include <units/physical/si/base/time.h>
|
#include <units/physical/si/time.h>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
namespace units {
|
namespace units {
|
||||||
|
@@ -41,8 +41,8 @@ dimensions used in the division operation:
|
|||||||
.. code-block::
|
.. code-block::
|
||||||
:emphasize-lines: 1-2,8,10
|
:emphasize-lines: 1-2,8,10
|
||||||
|
|
||||||
#include <units/physical/si/base/length.h>
|
#include <units/physical/si/length.h>
|
||||||
#include <units/physical/si/base/time.h>
|
#include <units/physical/si/time.h>
|
||||||
|
|
||||||
using namespace units::physical::si;
|
using namespace units::physical::si;
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/derived/acceleration.h>
|
#include <units/physical/si/acceleration.h>
|
||||||
|
|
||||||
namespace units{
|
namespace units{
|
||||||
namespace experimental{
|
namespace experimental{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/derived/area.h>
|
#include <units/physical/si/area.h>
|
||||||
|
|
||||||
namespace area {
|
namespace area {
|
||||||
|
|
||||||
|
@@ -20,9 +20,9 @@
|
|||||||
physical_quantities
|
physical_quantities
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <units/physical/si/derived/capacitance.h>
|
#include <units/physical/si/capacitance.h>
|
||||||
#include <units/physical/si/derived/resistance.h>
|
#include <units/physical/si/resistance.h>
|
||||||
#include <units/physical/si/base/time.h>
|
#include <units/physical/si/time.h>
|
||||||
#include <units/math.h>
|
#include <units/math.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include "./voltage.h"
|
#include "./voltage.h"
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/derived/density.h>
|
#include <units/physical/si/density.h>
|
||||||
|
|
||||||
namespace units{
|
namespace units{
|
||||||
namespace experimental{
|
namespace experimental{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/derived/force.h>
|
#include <units/physical/si/force.h>
|
||||||
|
|
||||||
namespace units{
|
namespace units{
|
||||||
namespace experimental{
|
namespace experimental{
|
||||||
|
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/base/length.h>
|
#include <units/physical/si/length.h>
|
||||||
#include <units/physical/si/imperial/base/length.h>
|
#include <units/physical/si/imperial/length.h>
|
||||||
#include <units/physical/si/international/base/length.h>
|
#include <units/physical/si/international/length.h>
|
||||||
#include <units/physical/si/typographic/base/length.h>
|
#include <units/physical/si/typographic/length.h>
|
||||||
#include <units/physical/si/us/base/length.h>
|
#include <units/physical/si/us/length.h>
|
||||||
#include <units/physical/si/iau/base/length.h>
|
#include <units/physical/si/iau/length.h>
|
||||||
|
|
||||||
namespace units{
|
namespace units{
|
||||||
namespace experimental{
|
namespace experimental{
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/base/mass.h>
|
#include <units/physical/si/mass.h>
|
||||||
|
|
||||||
namespace units{
|
namespace units{
|
||||||
namespace experimental{
|
namespace experimental{
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/base/time.h>
|
#include <units/physical/si/time.h>
|
||||||
|
|
||||||
// named qtime due to conflict with time_t time(time_t*)
|
// named qtime due to conflict with time_t time(time_t*)
|
||||||
namespace q_time {
|
namespace q_time {
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/derived/voltage.h>
|
#include <units/physical/si/voltage.h>
|
||||||
|
|
||||||
namespace units{
|
namespace units{
|
||||||
namespace experimental{
|
namespace experimental{
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/physical/si/derived/volume.h>
|
#include <units/physical/si/volume.h>
|
||||||
|
|
||||||
namespace units{
|
namespace units{
|
||||||
namespace experimental{
|
namespace experimental{
|
||||||
|
@@ -20,9 +20,9 @@
|
|||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
#include <units/physical/si/cgs/derived/speed.h>
|
#include <units/physical/si/cgs/speed.h>
|
||||||
#include <units/physical/si/international/derived/speed.h>
|
#include <units/physical/si/international/speed.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
#include <units/physical/si/constants.h>
|
#include <units/physical/si/constants.h>
|
||||||
#include <units/physical/si/derived/area.h>
|
#include <units/physical/si/area.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/physical/si/derived/density.h>
|
#include <units/physical/si/density.h>
|
||||||
#include <units/physical/si/derived/force.h>
|
#include <units/physical/si/force.h>
|
||||||
#include <units/physical/si/base/mass.h>
|
#include <units/physical/si/mass.h>
|
||||||
#include <units/physical/si/base/time.h>
|
#include <units/physical/si/time.h>
|
||||||
#include <units/physical/si/derived/volume.h>
|
#include <units/physical/si/volume.h>
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@@ -20,10 +20,10 @@
|
|||||||
physical_quantities
|
physical_quantities
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <units/physical/si/derived/capacitance.h>
|
#include <units/physical/si/capacitance.h>
|
||||||
#include <units/physical/si/derived/resistance.h>
|
#include <units/physical/si/resistance.h>
|
||||||
#include <units/physical/si/base/time.h>
|
#include <units/physical/si/time.h>
|
||||||
#include <units/physical/si/derived/voltage.h>
|
#include <units/physical/si/voltage.h>
|
||||||
#include <units/math.h>
|
#include <units/math.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@@ -16,15 +16,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/physical/si/derived/area.h>
|
#include <units/physical/si/area.h>
|
||||||
#include <units/physical/si/iau/base/length.h>
|
#include <units/physical/si/iau/length.h>
|
||||||
#include <units/physical/si/imperial/base/length.h>
|
#include <units/physical/si/imperial/length.h>
|
||||||
#include <units/physical/si/international/base/length.h>
|
#include <units/physical/si/international/length.h>
|
||||||
#include <units/physical/si/base/length.h>
|
#include <units/physical/si/length.h>
|
||||||
#include <units/physical/si/base/time.h>
|
#include <units/physical/si/time.h>
|
||||||
#include <units/physical/si/typographic/base/length.h>
|
#include <units/physical/si/typographic/length.h>
|
||||||
#include <units/physical/si/us/base/length.h>
|
#include <units/physical/si/us/length.h>
|
||||||
#include <units/physical/si/derived/volume.h>
|
#include <units/physical/si/volume.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
along with this program. If not, see http://www.gnu.org/licenses./
|
along with this program. If not, see http://www.gnu.org/licenses./
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <units/physical/si/base/length.h>
|
#include <units/physical/si/length.h>
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/generic/angle.h>
|
#include <units/generic/angle.h>
|
||||||
#include <units/physical/si/base/length.h>
|
#include <units/physical/si/length.h>
|
||||||
#include <units/physical/si/derived/energy.h>
|
#include <units/physical/si/energy.h>
|
||||||
#include <units/physical/si/derived/torque.h>
|
#include <units/physical/si/torque.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@@ -22,17 +22,17 @@
|
|||||||
|
|
||||||
#include <units/concepts.h>
|
#include <units/concepts.h>
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/physical/si/fps/derived/density.h>
|
#include <units/physical/si/fps/density.h>
|
||||||
#include <units/physical/si/fps/base/length.h>
|
#include <units/physical/si/fps/length.h>
|
||||||
#include <units/physical/si/fps/base/mass.h>
|
#include <units/physical/si/fps/mass.h>
|
||||||
#include <units/physical/si/fps/derived/power.h>
|
#include <units/physical/si/fps/power.h>
|
||||||
#include <units/physical/si/fps/derived/speed.h>
|
#include <units/physical/si/fps/speed.h>
|
||||||
#include <units/physical/si/fps/derived/volume.h>
|
#include <units/physical/si/fps/volume.h>
|
||||||
#include <units/physical/si/base/length.h>
|
#include <units/physical/si/length.h>
|
||||||
#include <units/physical/si/base/mass.h>
|
#include <units/physical/si/mass.h>
|
||||||
#include <units/physical/si/derived/power.h>
|
#include <units/physical/si/power.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/physical/si/derived/volume.h>
|
#include <units/physical/si/volume.h>
|
||||||
#include <units/quantity.h>
|
#include <units/quantity.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/physical/si/base/length.h>
|
#include <units/physical/si/length.h>
|
||||||
#include <units/quantity_kind.h>
|
#include <units/quantity_kind.h>
|
||||||
#include <compare>
|
#include <compare>
|
||||||
|
|
||||||
|
@@ -25,8 +25,8 @@
|
|||||||
#include "geographic.h"
|
#include "geographic.h"
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/math.h>
|
#include <units/math.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/physical/si/international/base/length.h>
|
#include <units/physical/si/international/length.h>
|
||||||
#include <units/quantity_point_kind.h>
|
#include <units/quantity_point_kind.h>
|
||||||
|
|
||||||
// An example of a really simplified tactical glide computer
|
// An example of a really simplified tactical glide computer
|
||||||
|
@@ -21,8 +21,8 @@
|
|||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/physical/si/international/derived/speed.h>
|
#include <units/physical/si/international/speed.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
@@ -20,9 +20,9 @@
|
|||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
#include <units/physical/si/derived/speed.h>
|
#include <units/physical/si/speed.h>
|
||||||
#include <units/physical/si/derived/force.h>
|
#include <units/physical/si/force.h>
|
||||||
#include <units/physical/si/derived/energy.h>
|
#include <units/physical/si/energy.h>
|
||||||
#include <units/format.h>
|
#include <units/format.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <linear_algebra.hpp>
|
#include <linear_algebra.hpp>
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
// SOFTWARE.
|
// SOFTWARE.
|
||||||
|
|
||||||
#include <units/physical/si/derived/acceleration.h>
|
#include <units/physical/si/acceleration.h>
|
||||||
#include <units/quantity_io.h>
|
#include <units/quantity_io.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <compare>
|
#include <compare>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user