Method summary
- __abs__(self)
- __add__(self, other)
- __div__(self, other)
- __eq__(self, other)
- __float__(self)
- __init__(self, value, derivation)
- __invert__(self)
- __mul__(self, other)
- __ne__(self, other)
- __neg__(self)
- __pos__(self)
- __pow__(self, other)
- __rdiv__(self, other)
- __repr__(self)
- __rmul__(self, other)
- __str__(self)
- __sub__(self, other)
Methods
- __abs__(self)
- __add__(self, other)
- __div__(self, other)
- __eq__(self, other)
Are these the same types of units (e.g., feet)
- __float__(self)
- __init__(self, value, derivation)
- __invert__(self)
- __mul__(self, other)
- __ne__(self, other)
- __neg__(self)
- __pos__(self)
- __pow__(self, other)
- __rdiv__(self, other)
- __repr__(self)
Returns the raw SI units. E.g., g/cc would be 1000 kg * m **-3.
- __rmul__(self, other)
- __str__(self)
Return the pretty units label if it exists.
- __sub__(self, other)