Minimum( obj1, obj2.. )
Minimum( list )
Minimum
returns the minimum of its arguments, i.e., that argument
obj_i for which obj_i <= obj_k for all k. In its second form
Minimum
takes a list list and returns the minimum of the elements of
this list.
Typically the arguments or elements of the list respectively will be
integers, but actually they can be objects of an arbitrary type. This
works because any two objects can be compared using the <
operator.
gap> Minimum( -123, 700, 123, 0, -1000 ); -1000 gap> Minimum( [ -123, 700, 123, 0, -1000 ] ); -1000 gap> Minimum( [ 1, 2 ], [ 0, 15 ], [ 1, 5 ], [ 2, -11 ] ); [ 0, 15 ] # lists are compared elementwise
GAP 3.4.4