return dimension as a product of powers of base dimensions - Maple 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

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:

GetDimension'length'

length

(1)

GetDimension'speed'

lengthtime

(2)

GetDimension'acceleration'

lengthtime2

(3)

GetDimension'surge'

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

AddDimension'surge'='length''time'3

GetDimension'surge'

lengthtime3

(4)

See Also

convert/dimensions, Units, Units/Commands, Units/Index, Units[AddDimension], Units[GetDimensions], Units[HasDimension], Units[RemoveDimension]


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