Units[Converter] - Maple Programming Help

Home : Support : Online Help : Science and Engineering : Units : Unit Converter : Units/Converter/RemoveUnit

Units[Converter]

 RemoveUnit
 remove a unit from the Unit Converter

 Calling Sequence RemoveUnit(unit, opts)

Parameters

 unit - symbol; unit name opts - (optional) equation of the form 'make'=truefalse; specifies option for the unit

Description

 • The RemoveUnit(unit, opts) function removes the unit unit from the Unit Converter.
 • This procedure accepts symbols and variations in spelling. For example, $\frac{m}{s}$, meters/second, and metre/second represent the same dimension in the Unit Converter.
 • You describe the options of the unit by using the optional arguments. The opts argument can contain the following equation.
 'make'=truefalse
 This option specifies whether the conversion tables are rebuilt after the unit has been removed from the Unit Converter.  By default, this option is set to true. If $10$ or more dimensions or units are added to or removed from the Unit Converter in the same execution group, it is recommended that you execute the Units[Converter][MakeConverter]() calling sequence afterward.

Examples

 > $\mathrm{with}\left(\mathrm{Units}[\mathrm{Converter}]\right):$
 > $\mathrm{RemoveUnit}\left(\frac{'\mathrm{cm}'}{'s'}\right)$
 > $\mathrm{AddUnit}\left(\frac{'\mathrm{parsec}'}{'{\mathrm{year}}_{\mathrm{Julian}}'},'\mathrm{display}'="parsecs per Julian year"\right)$
 > $\mathrm{RemoveUnit}\left(\frac{'\mathrm{parsec}'}{'{\mathrm{year}}_{\mathrm{Julian}}'}\right)$