Documentation of GeneralQuantities - The Collection of C++ Classes to Handle General Quantities in C++ (preliminary)
- Author:
- Bernd Speiser Institut für Organische Chemie, Universität Tübingen, Auf der Morgenstelle 18, D-72076 Tübingen, Germany; e-mail: bernd.speiser@uni-tuebingen.de
-
Introduction
-
General Quantities
-
Contact
GeneralQuantities defines classes to handle specific
quantities of general interest. All GeneralQuantities are based on the C++ classes defined in the
quantity base collection.
The following general quantities are available in the present version:
... move to file
digital.txt ...
The Digital
quantity is a
quantity with storage type bool. Thus, its value can only be true or false. All classes related to Digital are defined in namespace digital. Numerical operations on Digital objects are only allowed as far as they are defined for type bool. Its
dimension is (0, 0, 0, 0, 0, 0, 0), i.e. it is dimensionless. Its only
unit Unity is a NonPrefixable and is only present for dummy reasons. It is used as the standard and the default
unit.
Both variable (Digital) and constant (DigitalConstant) types are defined. Namespace quantity::digital defines two namespace level DigitalConstants On and Off with values true and false, respectively.
The Empty Quantity is a
quantity which has no usable contents. The derived
quantities Empty, EmptyConstant and Empty Vector are a Variable, a Constant, and a VariableVector, respectively. These classes can be used to signify that there is `no' Variable, Constant, or VariableVector.
Please contact the author of the program at
bernd.speiser@uni-tuebingen.de if you have specific questions about the software.
return to Quantities main page