Define a new named unit.
OptionalLaTeXsymbol: string | Map<Unit, number>The LaTeX code for this unit
Optionalbase: Dimension | UnitThe base dimension or makeup of unit(s)
The scale factor of this unit relative to the units in base
Whether or not this unit can have a prefix applied
Determine if this compound is made up of the same factors as another.
Another compound to compare to
Whether or not this compound matches another
Raise this compound to an exponent.
The exponent to raise this compound by
The power of this compound and exponent
Calculate the conversion factor between this unit and another unit.
Another unit to convert to
The conversion factor between this unit and another
Pretty-print this compound as a LaTeX formula.
The compound written as a LaTeX formula
Represents a measurable unit.