Add Dimension - Maple Help

Units

 add or rename a complex dimension

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

 > $\mathrm{with}\left(\mathrm{Units}\right):$
 > $\mathrm{convert}\left(\frac{'m'}{{'s'}^{2}},'\mathrm{dimensions}'\right)$
 ${\mathrm{acceleration}}$ (1)
 > $\mathrm{convert}\left(\frac{'m'}{{'s'}^{3}},'\mathrm{dimensions}'\right)$
 ${\mathrm{jerk}}$ (2)
 > $\mathrm{AddDimension}\left('\mathrm{surge}'=\frac{'\mathrm{length}'}{{'\mathrm{time}'}^{3}}\right)$
 > $\mathrm{convert}\left(\frac{'m'}{{'s'}^{3}},'\mathrm{dimensions}'\right)$
 ${\mathrm{surge}}$ (3)
 > $\mathrm{convert}\left(\frac{'V'}{'s'},'\mathrm{dimensions}'\right)$
 $\frac{{{\mathrm{length}}}^{{2}}{}{\mathrm{mass}}}{{{\mathrm{time}}}^{{4}}{}{\mathrm{electric_current}}}$ (4)
 > $\mathrm{AddDimension}\left('\mathrm{potential_flow}'=\frac{'\mathrm{electric_potential}'}{'\mathrm{time}'}\right)$
 > $\mathrm{convert}\left(\frac{'V'}{'s'},'\mathrm{dimensions}'\right)$
 ${\mathrm{potential_flow}}$ (5)

This function can be used to rename existing dimensions.

 > $\mathrm{convert}\left('V','\mathrm{dimensions}'\right)$
 ${\mathrm{electric_potential}}$ (6)
 > $\mathrm{AddDimension}\left('\mathrm{electromotive_force}'='\mathrm{electric_potential}'\right)$
 > $\mathrm{convert}\left('V','\mathrm{dimensions}'\right)$
 ${\mathrm{electromotive_force}}$ (7)