Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 2.18 KB

_project_concepts.md

File metadata and controls

53 lines (35 loc) · 2.18 KB

Glossary

(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 or Fahrenheit
    • Conversion
    • Presentation

Conversion

Conversion between units of the same nature (measure) is one of the cornerstones of this lib. Primarily there are two methods:

  • tabled
  • functional

Rational (tabled)

Rational since based on a cross factor, a case of linear invertible function (always works two-way). Example: feet to meters and vice versa.

Functional

Functions are usually non-linear relations, described by formalae. Quite many of them are one-way (a good example in mathematics is hashing).

Presentation

Validation and ranges

Universal values

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

Solution

Library of such values

Arithmetics