Next: Operations on arrays and
Up: MAXLOC
Previous: MAXLOC
- MAXLOC((/2,7,3,5,9,1/)) = (/ 5 /)
- MAXVAL((/2,7,3,5,9,1/)) = 9
- MAX( (/2,7,3,5,9,1/),(/1,9,5,3,7,2/)) = (/2,9,5,5,9,2/)
- MINLOC((/2,7,3,5,9,1/)) = (/ 6 /)
- MINVAL((/2,7,3,5,9,1/)) = 1
- MIN( (/2,7,3,5,9,1/),(/1,9,5,3,7,2/)) = (/1,7,3,3,7,1/)
And:
- MAXLOC(A, MASK = A .LT. 5) = (/ 2, 2 /)
- MAXVAL(A, MASK = A .LT. 5) = 4
- MAXLOC(A, MASK = A .LT. 4) = (/ 2, 1 /) -- first location
- MAXVAL(A, MASK = A .LT. 4) = 3
Next: Operations on arrays and
Up: MAXLOC
Previous: MAXLOC
©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997Not for commercial use.