Has Dimension - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

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]

 


Download Help Document