9.146. IMAGE_INDEX
9.146 IMAGE_INDEX — Function that converts a cosubscript to an image index
- Description:
-
Returns the image index belonging to a cosubscript.
- Standard:
-
Fortran 2008 and later
- Class:
-
Inquiry function.
- Syntax:
-
RESULT = IMAGE_INDEX(COARRAY, SUB)
- Arguments: None.
-
COARRAY Coarray of any type. SUB default integer rank-1 array of a size equal to the corank of COARRAY. - Return value:
-
Scalar default integer with the value of the image index which corresponds to the cosubscripts. For invalid cosu