PySharp Units of Measure
Units of Measure in Python
|
This class reduces a unit of measure to its most basic scalar units of measure. More...
Public Member Functions | |
def | __init__ (self) |
def | explode (self, uom) |
def | explodeRecursively (self, uom, level) |
def | addTerm (self, uom, invert) |
def | buildBaseString (self) |
def | __str__ (self) |
Public Attributes | |
MAX_RECURSIONS | |
STARTING_LEVEL | |
terms | |
mapScalingFactor | |
pathExponents | |
counter | |
Static Public Attributes | |
string | MULT = '\xB7' |
string | DIV = '/' |
string | POW = '^' |
string | SQ = '\xB2' |
string | CUBED = '\xB3' |
string | LP = '(' |
string | RP = ')' |
string | ONE = '1' |
This class reduces a unit of measure to its most basic scalar units of measure.