摘要 |
A method for performing unit conversion and managing units in mathematical computations. The method employs unit objects, which each have a scalar part and a unit part that together are treated as a single entity in computation. In the process of carrying out computations, the unit object operands of a particular operation are disassembled into their scalar and unit parts, new scalar and unit parts are calculated therefrom, and the new parts are combined to produce the new unit object. The method thereby simplifies computation involving physical quantities such as length and temperature and also aids in verifying that the computations are correct. To simplify the entry of the unit parts for unit objects, a unique user interface is provided.
|