Functions Index :: M :: Min2

[<< up one level]

Module:

numeric :: core

Definition:

Min2(val x1, val x2)

Description:

Returns the smaller of its arguments. [1]

Examples:

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

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

 

[<< 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.