Lines Matching refs:quantities
79 and quantities (defined as a unit and associated value) for arbitrary unit system models and arbitr…
171 of various quantities through the equation along with their numerical values. There are a number of…
183 quantities representing different measurables are combined, dimensional analysis provides the means…
186 arguments to many functions (such as exp, log, etc...) must be dimensionless quantities can be easi…
188 of this type of restriction in code involving dimensioned quantities where appropriate.
375 between units and quantities to simplify the definition of quantities; it is effectively equivalent…
385 scalars and units, scalars and quantities, units and quantities, and between quantities. In additio…
388 comparison of quantities from the same unit system. All operators simply delegate to the
418 Conversion is only meaningful for quantities as it implies the presence of at
461 …igned to emphasize safety above convenience when performing operations with dimensioned quantities.
462 Specifically, construction of quantities is required to fully specify both value and unit. Direct c…
466 dimensionally compatible quantities in different unit systems. Implicit conversions between unit s…
471 An exception is made for quantities for which the unit reduces to dimensionless; in this case, impl…
492 Because dimensionless quantities have no associated units, they behave as normal scalars, and allow…
542 This example demonstrates how to use quantities of our toy unit system :
572 If we define a few units and associated quantities,
578 the various algebraic operations between scalars, units, and quantities give
598 Quantity/quantity operations and integral/rational powers of quantities :
602 Logical comparison operators are also defined between quantities :
610 Implicit conversion is allowed between dimensionless quantities and their corresponding value types…
621 which functions as expected for SI quantities :
641 Defining a few angular quantities,
649 Dealing with complex quantities is trivial. Here is the calculation of complex impedance :
676 then we can also compute rational powers of measurement quantities :
689 quantities
695 illustrates implicit conversion of quantities of different value types where implicit conversion
753 quantities (an identical problem
901 Now we can create some quantities:
954 Note that neither of these functions is defined for quantities
1172 How does one distinguish between quantities that are physically different but have the same units (…
1418 * strict quantity construction is default; quantities can be constructed from bare values
1424 * added option to enforce strict construction of quantities (only constructible
1430 * added `<cmath>` wrappers in the `std` namespace for functions that can support quantities
1439 * completely reimplemented SI and CGS unit systems and changed syntax for quantities