max, min - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Units[Natural]

  

max

  

maximum function in the Natural Units environment

  

min

  

minimum function in the Natural Units environment

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

max(x1, x2, ...)

min(x1, x2, ...)

Parameters

'x1, x2, ...

-

expressions

Description

• 

In the Natural 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

withUnitsNatural:

min32m,1.49ft

1.49ft

(1)

dismaxxfurlong,32ft,120cm,17inches

dismax65,25146x125m

(2)

disconvertdis,units,m

dismax65,25146x125m

(3)

x3

x3

(4)

dis

75438125m

(5)

See Also

convert/units

max

min

Units

Units/Natural