Units[Simple]
max
maximum function in the Simple Units environment
min
minimum function in the Simple Units environment
Calling Sequence
Parameters
Description
Examples
max(x1, x2, ...)
min(x1, x2, ...)
'x1, x2, ...
-
expressions
In the Simple Units environment, any verifications of valid dimensions ignore so-called Unit annotations.
In the Simple Units environment, the max and min procedures override the top-level max and min procedures. 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.
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.
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.
When you edit a unit, double brackets appear around it.
with⁡UnitsSimple:
min⁡32⁢Unit⁡m,1.49⁢Unit⁡ft
1.49⁢ft
dis≔max⁡x⁢Unit⁡furlong,32⁢Unit⁡ft,120⁢Unit⁡cm,17⁢Unit⁡inches
dis≔max⁡65,25146⁢x125⁢m
x≔3
dis
75438125⁢m
See Also
convert/units
Units
Units/Simple
Download Help Document