Functions Index :: M :: Max2

[<< up one level]

Module:

numeric :: core

Definition:

Max2(val x1, val x2)

Description:

Returns the bigger of its arguments. [1]

Examples:

v = Max2(1.1, 2.34) # v == 2.34

w = Max2(-1.1, -2.34) # w == -1.1

 

[<< top]

 


[1]: The function is provided as a building block of more complex functions, particularly for operations on arrays. See the documentation of the array package and the ArrayOpFunc, ArrayOpArrayFunc and ArraySum functions.