Main Page Modules Class Hierarchy Compound List File List Compound Members
Dimension: The representation of an irreducible measure.
Detailed Description
The representation of a basic dimension: an irreducible measure. This is intended to represent a base or supplementary dimension as specified in ASTM E380-82.
I have added money as a unit because I am a pragmatist, not because I have any great desire to implement currency conversions.
The base dimension "one" is dimensionless. Any dimensionless number will have units of 1. Supplementary dimensions should have at least one unit with an option of "one" to signify that any number with that unit can have its dimension converted to 1 when required. Base dimensions should never have units with this option.
Function Documentation
Dimension * find_dsym (
|
char sym )
|
|
|
Find a Dimension given the single character symbol that represents it. This looks through the theDimensions list until it finds the first match. -
Parameters:
-
sym
|
a single character that represents a Dimension. |
|
Variable Documentation
Dimension * theDimensions = 0
|
|
|
A global pointer to the first dimension in a list of all Dimensions. This is the head of a singly linked list of all Dimensions. Each Dimension's m_next field points to the next Dimension in the list. |
 |
C++ Reference Manual |
20010520 |