SiPrefix¶
- class openmm.unit.prefix.SiPrefix(prefix, factor, symbol)¶
 Unit prefix that can be multiplied by a unit to yield a new unit.
e.g. millimeter = milli*meter
- __init__(prefix, factor, symbol)¶
 
Methods
__init__(prefix, factor, symbol)- __mul__(unit)¶
 SiPrefix * BaseUnit yields new BaseUnit SiPrefix * ScaledUnit yields new ScaledUnit SiPrefix * Unit with exactly one BaseUnit or ScaledUnit yields new Unit