Top index Wirbel home

::min

min(a, b) - returns the minimum of a and b
min(list(A) alist) - compute the minimum of a list of elements

min(a, b) works for all types that implement the operator <. It returns a if a is less then b, else b.

min(list(A) alist) computes the minimum of all elements in alist according to a comparison with <. alist must not be emtpy or an exception will be raised.

See also

abs, max