Get Dimension - Maple Help

Units[Converter]

 GetDimension
 list options of a dimension in the Unit Converter

 Calling Sequence GetDimension(dim, opts)

Parameters

 dim - symbol; dimension name opts - (optional) equation(s) of the form option=value where option is one of 'display' or 'default'; specify options for the dimension

Description

 • The GetDimension(dim) function returns the options to the AddDimension function that recreate the dimension.
 • The GetDimension(dim, opts) function returns an expression sequence of equations indicating the values of each option.

Examples

 > $\mathrm{with}\left(\mathrm{Units}\left[\mathrm{Converter}\right]\right):$
 > $\mathrm{GetDimension}\left(\frac{'\mathrm{length}'}{'\mathrm{time}'}\right)$
 $\frac{{\mathrm{length}}}{{\mathrm{time}}}{,}{\mathrm{display}}{=}{"speed"}{,}{\mathrm{default}}{=}{\mathrm{false}}$ (1)
 > $\mathrm{GetDimension}\left(\frac{'\mathrm{length}'}{'\mathrm{time}'},'\mathrm{default}'\right)$
 ${\mathrm{default}}{=}{\mathrm{false}}$ (2)
 > $\mathrm{GetDimension}\left(\frac{'\mathrm{length}'}{'\mathrm{time}'},'\mathrm{display}'\right)$
 ${\mathrm{display}}{=}{"speed"}$ (3)
 > $\mathrm{AddDimension}\left(\frac{'\mathrm{length}'}{'\mathrm{time}'},'\mathrm{default}'\right)$
 > $\mathrm{GetDimension}\left(\frac{'\mathrm{length}'}{'\mathrm{time}'}\right)$
 $\frac{{\mathrm{length}}}{{\mathrm{time}}}{,}{\mathrm{display}}{=}{"speed"}{,}{\mathrm{default}}{=}{\mathrm{true}}$ (4)
 > $\mathrm{GetDimension}\left(\mathrm{convert}\left(\frac{'\mathrm{Btu}'}{'\mathrm{lb}''\mathrm{degF}'},'\mathrm{dimensions}','\mathrm{base}'\right)\right)$
 $\frac{{{\mathrm{length}}}^{{2}}}{{\mathrm{thermodynamic_temperature}}{}{{\mathrm{time}}}^{{2}}}{,}{\mathrm{display}}{=}{"specific heat capacity"}{,}{\mathrm{default}}{=}{\mathrm{false}}$ (5)