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

Online Help

All Products    Maple    MapleSim


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

> 

with⁡Units:

Automatically loading the Units[Simple] subpackage

> 

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=lengthtime3

> 

GetDimension⁡surge

lengthtime3

(4)

See Also

convert/dimensions

Units

Units/Commands

Units/Index

Units[AddDimension]

Units[GetDimensions]

Units[HasDimension]

Units[RemoveDimension]