Units - Maple Programming 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

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

convertms2,dimensions

acceleration

(1)

convertms3,dimensions

jerk

(2)

AddDimensionsurge=lengthtime3

convertms3,dimensions

surge

(3)

convertVs,dimensions

length2masstime4electric_current

(4)

AddDimensionpotential_flow=electric_potentialtime

convertVs,dimensions

potential_flow

(5)

This function can be used to rename existing dimensions.

convertV,dimensions

electric_potential

(6)

AddDimensionelectromotive_force=electric_potential

convertV,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]