• DocumentCode
    2790444
  • Title

    Data types of physical quantities

  • Author

    Martin, Johannes J.

  • Author_Institution
    Dept. of Comput. Sci., New Orleans Univ., LA, USA
  • fYear
    1997
  • fDate
    12-14 Apr 1997
  • Firstpage
    260
  • Lastpage
    263
  • Abstract
    Quantities of classical physics such as distance, time, energy, etc. are commonly viewed as pairs (d, u) consisting of a dimension and a unit. Computer programs that operate on physical quantities manipulate only the dimensions; units must be dealt with by comments. This article proposes a type system that makes the units an integral part of a program and, consequently, protects against errors resulting from “adding apples and oranges”, and supports appropriate self-documentation. It shows that engineering types have a simple, algebraic structure that makes a homogeneous type system for them not only desirable but also feasible at a very small expense
  • Keywords
    data structures; engineering; engineering computing; physics; physics computing; programming languages; system documentation; algebraic structure; classical physics; computer programs; data types; distance; energy; engineering types; error protection; homogeneous type system; physical quantities; programming languages; self-documentation; time; Arithmetic; Computer errors; Computer languages; Computer science; Concrete; Documentation; History; Physics computing; Power engineering and energy; Protection;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Southeastcon '97. Engineering new New Century., Proceedings. IEEE
  • Conference_Location
    Blacksburg, VA
  • Print_ISBN
    0-7803-3844-8
  • Type

    conf

  • DOI
    10.1109/SECON.1997.598686
  • Filename
    598686