Add Dimension - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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

> 

with⁡Units:

Automatically loading the Units[Simple] subpackage

> 

convert⁡ms2,dimensions

acceleration

(1)
> 

convert⁡ms3,dimensions

jerk

(2)
> 

AddDimension⁡surge=lengthtime3

> 

convert⁡ms3,dimensions

surge

(3)
> 

convert⁡Vs,dimensions

length2⁢masstime4⁢electric_current

(4)
> 

AddDimension⁡potential_flow=electric_potentialtime

> 

convert⁡Vs,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]