Has 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

  

HasDimension

  

test whether a dimension exists

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

HasDimension(dim)

Parameters

dim

-

symbol; dimension name

Description

• 

The HasDimension(dim) function returns true if there is a dimension with the name dim. Otherwise, false is returned.

Examples

withUnits:

Automatically loading the Units[Simple] subpackage

HasDimensionlength

true

(1)

HasDimensionspeed

true

(2)

HasDimensionacceleration

true

(3)

HasDimensionsurge

false

(4)

AddDimensionsurge=lengthtime3

HasDimensionsurge

true

(5)

See Also

Units

Units/Commands

Units/Index

Units[AddDimension]

Units[GetDimension]

Units[GetDimensions]

Units[RemoveDimension]