Units[Standard] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Environments : Standard : Units/Standard/max

Units[Standard]

  

max

  

maximum function in the Standard Units environment

  

min

  

minimum function in the Standard Units environment

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

max(x1, x2, ...)

min(x1, x2, ...)

Parameters

'x1, x2, ...

-

expressions

Description

• 

In the Standard Units environment, these procedures override the top-level max and min functions.  If any of the arguments have units associated with them, all units are converted to the units of the first argument, and then the global procedure of the same name is called on the unitless arguments.

Examples

Notes: 

– 

To enter a unit in 2-D Math input, select the unit from the appropriate Units palette. If the unit you want is not there, select unit and then enter the unit.

– 

In Maple 2015 and later versions, the double brackets around a unit are not displayed unless you are editing the unit.

withUnits[Standard]:

min3'm'2,1.49'ft'

0.4541520000m

(1)

dismaxx'furlong',3'ft'2,120'cm',17'inches'

dis:=max65,25146125xm

(2)

disconvertdis,'units','m'

dis:=max65,25146125xm

(3)

x3

x:=3

(4)

dis

75438125m

(5)

See Also

convert/units

max

min

Units

Units/Standard

 


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