Overloaded Functions in the Simple Units Environment - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Simple : Units/Simple/functions

Overloaded Functions in the Simple Units Environment

 

Description

Examples

Description

• 

In the Simple Units environment, any verifications of valid dimensions ignore so-called Unit annotations.

• 

In the Simple Units environment, the following functions are overloaded with functions that remove units from their primary arguments, call the appropriate global function, and then multiply the result by the unit. The primary argument can be the first argument, as in expand(3*x*(1-x)*Unit('m')) or a subsequent argument, such as abs(1, 3.3213*Unit('m')) where the first argument is used to denote the derivative.

abs

argument

ceil

collect

combine

conjugate

csgn

evalc

evalr

expand

factor

floor

frac

Im

normal

Re

round

seq

shake

signum

simplify

trunc

 

 

• 

Every command in the Simple Units environment that needs to determine whether an expression is valid or not, does so using the Units[TestDimensions] command.

  

Note: Prior to Maple 2015, units were displayed surrounded by double brackets.

Examples

withUnitsSimple:

3UnitWx1x

3x1xW

(1)

expand

3x2+3xW

(2)

factor

3x1+xW

(3)

assume0<y&comma;0<z

2lnyUnitmlnzUnitft

2lny~381lnz~1250m

(4)

combine&comma;ln

lny~2z~3811250m

(5)

See Also

abs

argument

ceil

collect

combine

conjugate

csgn

evalc

evalr

expand

factor

floor

frac

Im

normal

Re

round

seq

shake

signum

simplify

trunc

Units

Units/Simple