Get Dimension - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

# Online Help

###### All Products    Maple    MapleSim

Units

 GetDimension
 return dimension as a product of powers of base dimensions

 Calling Sequence GetDimension(dim)

Parameters

 dim - symbol; dimension

Description

 • The function GetDimension(dim) returns the argument for a base dimension, and the product of powers of base dimensions for any other dimension.

Examples

 > $\mathrm{with}\left(\mathrm{Units}\right):$
 Automatically loading the Units[Simple] subpackage
 > $\mathrm{GetDimension}\left('\mathrm{length}'\right)$
 ${\mathrm{length}}$ (1)
 > $\mathrm{GetDimension}\left('\mathrm{speed}'\right)$
 $\frac{{\mathrm{length}}}{{\mathrm{time}}}$ (2)
 > $\mathrm{GetDimension}\left('\mathrm{acceleration}'\right)$
 $\frac{{\mathrm{length}}}{{{\mathrm{time}}}^{{2}}}$ (3)
 > $\mathrm{GetDimension}\left('\mathrm{surge}'\right)$
 > $\mathrm{AddDimension}\left('\mathrm{surge}'=\frac{'\mathrm{length}'}{{'\mathrm{time}'}^{3}}\right)$
 > $\mathrm{GetDimension}\left('\mathrm{surge}'\right)$
 $\frac{{\mathrm{length}}}{{{\mathrm{time}}}^{{3}}}$ (4)

 See Also