9.191. MINVAL
9.191 MINVAL — Minimum value of an array
- Description:
- Determines the minimum value of the elements in an array value, or, if the DIM argument is supplied, determines the minimum value along each row of the array in the DIM direction. If MASK is present, only the elements for which MASK is
.TRUE.
are considered. If the array has zero size, or all of the elements of MASK are.FALSE.
, then the result isHUGE(ARRAY)
if ARRAY is numeric, or a string ofCHAR(255)
characters if ARRAY is of character type. - Standard:
- Fortran 95 and later
- Class:
- Transformational function
- Syntax:
-
RESULT = MINVAL(ARRAY, DIM [, MASK])
RESULT = MINVAL(ARRAY [, M