maximum function in the Natural Units environment - Maple Help

Online Help

All Products    Maple    MapleSim


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

Units[Natural][max] - maximum function in the Natural Units environment

Units[Natural][min] - minimum function in the Natural Units environment

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

Note: In Maple 2015 and later versions, units are not surrounded by double brackets.

withUnits[Natural]:

min3m2,1.49ft

0.4541520000m

(1)

dis:=maxxfurlong,3ft2,120cm,17inches

dis:=max65,25146125xm

(2)

dis:=convertdis,'units',m

dis:=max65,25146125xm

(3)

x:=3

x:=3

(4)

dis

75438125m

(5)

See Also

convert/units, max, min, Units, Units/Natural


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