Units[Converter] - Maple Help

Online Help

All Products    Maple    MapleSim


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

Parameters

Description

Examples

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, ms, 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

withUnits[Converter]:

RemoveUnit'cm''s'

AddUnit'parsec''yearJulian','display'=parsecs per Julian year

RemoveUnit'parsec''yearJulian'

See Also

Units

Units/Converter

Units[Converter][AddUnit]

Units[Converter][GetUnit]

Units[Converter][GetUnits]

Units[Converter][HasUnit]

Units[Converter][MakeConverter]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam