add or rename a complex dimension - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Manipulating Dimensions : Units/AddDimension

Units[AddDimension] - add or rename a complex dimension

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:

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]


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