[
Lists Home |
Date Index |
Thread Index
]
'cowan@mercury.ccil.org@INTERNET@wtgw'(John Cowan)
| > Question: what is the canonical form of compound UOMs, such as:
| > - m**2 (meters squared)
| > - m/sec (meters per second)
| > - m/sec**2 (meters per second squared)
|
| Such a form can always be reduced to a fraction, with a list of numerator
| units and denominator units. If we sort the units in alphabetical order,
| then we get a canonical form for it. For example, the canonical
| form of volts is "kilogram meter meter / ampere second second second".
| Exactly how to represent this in XML I leave up to you.
It also might be worth looking into specifying the operator used in combining the
list; for the torque/work example
torque := (cross force distance)
work := (dot force distance)
which can remove that sort of ambiguity.
Pete
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
|