Add 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

  

AddDimension

  

add or rename a complex dimension

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

AddDimension(dim=expr)

Parameters

dim

-

symbol; dimension name

expr

-

symbol; complex dimension

Description

• 

The AddDimension(dim=expr) function renames the complex dimension given by expr as dim for the current session.

• 

To rename a dimension for all future Maple sessions, add the AddDimension command to your Maple initialization file. For more information, see Create Maple Initialization File.

• 

A base dimension cannot be renamed.

Examples

withUnits:

Automatically loading the Units[Simple] subpackage

convert'm''s'2,'dimensions'

acceleration

(1)

convert'm''s'3,'dimensions'

jerk

(2)

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

convert'm''s'3,'dimensions'

surge

(3)

convert'V''s','dimensions'

length2masstime4electric_current

(4)

AddDimension'potential_flow'='electric_potential''time'

convert'V''s','dimensions'

potential_flow

(5)

This function can be used to rename existing dimensions.

convert'V','dimensions'

electric_potential

(6)

AddDimension'electromotive_force'='electric_potential'

convert'V','dimensions'

electromotive_force

(7)

See Also

convert/dimensions

Create Maple Initialization File

type/dimension

Units

Units/Commands

Units/Index

Units[AddBaseUnit]

Units[GetDimension]

Units[GetDimensions]

Units[HasDimension]

Units[RemoveDimension]