Units - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Manipulating Dimensions : Units/GetDimension

Units

  

GetDimension

  

return dimension as a product of powers of base dimensions

 

Calling Sequence

Parameters

Description

Examples

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

withUnits:

Automatically loading the Units[Simple] subpackage

GetDimensionlength

length

(1)

GetDimensionspeed

lengthtime

(2)

GetDimensionacceleration

lengthtime2

(3)

GetDimensionsurge

Error, (in Units:-GetDimension) a dimension with name `surge` does not exist

AddDimensionsurge=lengthtime3

GetDimensionsurge

lengthtime3

(4)

See Also

convert/dimensions

Units

Units/Commands

Units/Index

Units[AddDimension]

Units[GetDimensions]

Units[HasDimension]

Units[RemoveDimension]