Units[Converter] - Maple Programming Help

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

 > $\mathrm{with}\left(\mathrm{Units}[\mathrm{Converter}]\right):$
 > $\mathrm{nops}\left(\left\{\mathrm{GetUnits}\left(\right)\right\}\right)$
 ${719}$ (1)
 > $\mathrm{GetUnits}\left('\mathrm{dimension}'=\frac{'\mathrm{length}'}{'\mathrm{time}'}\right)$
 ${M}{,}\frac{{\mathrm{in}}}{{s}}{,}\frac{{\mathrm{cm}}}{{h}}{,}\frac{{\mathrm{cm}}}{{\mathrm{min}}}{,}\frac{{\mathrm{cm}}}{{s}}{,}\frac{{\mathrm{ft}}}{{h}}{,}\frac{{\mathrm{ft}}}{{\mathrm{min}}}{,}\frac{{\mathrm{ft}}}{{s}}{,}\frac{{\mathrm{km}}}{{h}}{,}\frac{{\mathrm{km}}}{{\mathrm{min}}}{,}\frac{{\mathrm{km}}}{{s}}{,}{\mathrm{knot}}{,}{\mathrm{kyne}}{,}\frac{{m}}{{h}}{,}\frac{{m}}{{\mathrm{min}}}{,}\frac{{m}}{{s}}{,}\frac{{\mathrm{mi}}}{{\mathrm{min}}}{,}\frac{{\mathrm{mi}}}{{s}}{,}\frac{{\mathrm{mm}}}{{h}}{,}\frac{{\mathrm{mm}}}{{\mathrm{min}}}{,}\frac{{\mathrm{mm}}}{{s}}{,}{\mathrm{mph}}$ (2)