list all units in the Unit Converter - Maple Help

Online Help

All Products    Maple    MapleSim


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

Units[Converter][GetUnits] - list all units in the Unit Converter

Calling Sequence

GetUnits(opts)

Parameters

opts

-

(optional) equation of the form 'dimension'=dimension; specifies option for the unit

Description

• 

The GetUnits() function returns an expression sequence of all units in the Unit Converter.

• 

You describe the options of the unit by using the optional arguments. The opts argument can contain the following equation.

  

 

  

'dimension'=dimension

  

This option specifies that only units in the Unit Converter with the given dimension are returned.

Examples

withUnits[Converter]:

nopsGetUnits

719

(1)

GetUnits'dimension'='length''time'

M,ins,cmh,cmmin,cms,fth,ftmin,fts,kmh,kmmin,kms,knot,kyne,mh,mmin,ms,mimin,mis,mmh,mmmin,mms,mph

(2)

See Also

Units, Units/Converter, Units[Converter][AddUnit], Units[Converter][GetUnit], Units[Converter][HasUnit], Units[Converter][RemoveUnit], Units[GetUnits]


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