02.07.2013 Views

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

HP Fortran Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Result type,<br />

type parameters,<br />

and shape<br />

Default integer scalar.<br />

Result value<br />

Intrinsic procedures<br />

Intrinsic procedure specifications<br />

The result has the value e min , as defined in “The Real Number System Model” on page 475.<br />

MINLOC(ARRAY, MASK)<br />

Optional argument<br />

MASK<br />

Description<br />

Returns the location of the first element of ARRAY having the minimum value of the elements<br />

identified by MASK.<br />

Class<br />

Transformational function.<br />

Arguments<br />

ARRAY must be of type integer or real. It must not be scalar.<br />

MASK (optional) must be of type logical and must be conformable with ARRAY.<br />

Result type,<br />

type parameters,<br />

and shape<br />

The result is of type default integer; it is an array of rank one and of size equal to the rank of<br />

ARRAY.<br />

Result value<br />

Case 1 If MASK is absent, the result is a rank-one array whose element values are<br />

the values of the subscripts of an element of ARRAY whose value equals the<br />

minimum value of all the elements of ARRAY.<br />

Chapter 11 559

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!