Monday 23 July 2018

Physical-type correctness in scientific Python. (arXiv:1807.07643v1 [cs.MS])

The representation of units and dimensions in informatics systems is barely codified and often ignored. For instance, the major languages used in scientific computing (Fortran, C and Python), have no type for dimension or unit, and so physical quantities are represented in a program by variables of type real, resulting in the possibility of unit or dimensional errors. We demonstrate the limitations of two Python unit-libraries and present a justification and method for checking kind-of-quantity.



from cs updates on arXiv.org https://ift.tt/2A0UZ5E
//

0 comments:

Post a Comment