A python module for manipulating scalar with physical units

Edit Package python-scalar

Scalar is designed to represent physical scalars and to eliminate errors involving implicit physical units (e.g., confusing angular degrees and radians). The standard arithmetic operators are overloaded to provide syntax identical to that for built-in numeric types. The scalar class does not define any units itself but is part of a package that includes a complete implementation of the standard metric system of units and many standard non-metric units. It also allows the user to define a specialized or reduced set of appropriate physical units for any particular application or domain. Once an application has been developed and tested, the scalar class can easily be switched off, if desired, to achieve the execution efficiency of operations on built-in numeric types, which can be nearly
two orders of magnitude faster. The scalar class can also be used for discrete units to enforce type checking of integer counts, thereby enhancing the built-in dynamic type checking of Python.

Refresh
Refresh
Source Files
Filename Size Changed
python-scalar.spec 0000001858 1.81 KB
scalar-2.2.tar.gz 0000009985 9.75 KB
Latest Revision
Huaren Zhong's avatar Huaren Zhong (zhonghuaren) committed (revision 4)
Comments 0
openSUSE Build Service is sponsored by