What is dimensionality? You can think of any unit of measure as distanced x massm x timet for some positive or negative integers d, m and t. For example speed = distance × time-1. The dimensionality of a unit of measure is that tuple: d, m and t.
The same notion can apply to units of measure in business programming, e.g. does variable size measure rows or columns? It is dangerous to get it backwards. If the units of measure were formally declared, the compiler could catch you if you used the variable in the wrong context.
Some people have suggested piggybacking a scheme for checking units of measure atop Java. Others want to go further and have automatic conversions applied.
This page is posted |
http://mindprod.com/jgloss/unitsofmeasure.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\unitsofmeasure.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[18.224.52.108] |
| |
Feedback |
You are visitor number | |