(Links here refer to code entities)
- Domain
- Unit - physical grade of measure (e.g. meter) or scale (e.g. Fahrenheit)
- Quantified - based on Unit, is a concept of a physical property, which owns value and its unit
- Measures - particular
Quantified
as speed, volume, temperature. - [Operations]
- Conversion
- Arihtmetic - good known
+
,-
,*
,/
. _a
_a intentionally arithmetic, not mathematic - Quora
- Applied
- UnitValue (aka UValue, uval) - derivative of Quantified, which adds up operations
- Instances - of UValues' as
kilogram
orFahrenheit
- Conversion
- Presentation
Conversion between units of the same nature (measure) is one of the cornerstones of this lib. Primarily there are two methods:
- tabled
- functional
Rational since based on a cross factor, a case of linear invertible function (always works two-way). Example: feet to meters and vice versa.
Functions are usually non-linear relations, described by formalae. Quite many of them are one-way (a good example in mathematics is hashing).
Physics is our existence and even the worst schooler is aware of dozens of event-related, universal, notable or named physical properties (but not exactly their values):
- water freezing/boiling, speed of sound/light
- mt. Everest height, length of equator, distance to Mars
- normal human body temperature, home/auto voltage
- Newtonian constant of gravitation, Boltzmann constant
Library of such values