#
AIPS HELP file for MIN in 31DEC24

#### As of Fri Jul 19 8:11:04 2024

**MIN**: Function verb to return the minimum value of the arguments
### INPUTS

NO adverbs. Instead, MIN takes two arguments
MIN (value1, value2)
where value1 and value2 are any numeric scalars and/or
arrays.

### HELP SECTION

MIN
Type: Verb (function: leaves results on the stack)
Use: To obtain the minimum value of numeric scalars (adverbs,
subscripted arrays, constants) and/or numeric arrays
(adverbs). MIN requires 2 immediate arguments as
MIN (value1, value2)
where value1 and value2 are any numeric scalars or
arrays. Examples:
MIN (3.3, 2.3) is 2.3
MIN (-3.3, 2.3) is -3.3
and with LEVS = 1,2,3,4,5,6,7,8,10; I = -6; APARM = 16
MIN (LEVS, I) is -6.0
MIN (LEVS, 43) is 1.0
MIN (LEVS, APARM) is 1.0
One can get away with giving MIN only one argument in a small
number of cases, e.g. print MIN(ANTENNAS) will display the
minimum value in the array ANTENNAS. If there are other
adverbs in the command, MIN will likely pick up one of them to
include in the min operation. Thus I = MIN (ANTENNAS) leaves
the min of I and ANTENNAS on a stack. In most cases, you are
better off using two arguments, e.g.
I = MIN (ANTENNAS, ANTENNAS).
Adverbs: none.

### EXPLAIN SECTION