LCOBOUND (The GNU Fortran Compiler) (original) (raw)


8.166 LCOBOUND — Lower codimension bounds of an array

Synopsis:

RESULT = LCOBOUND(COARRAY [, DIM [, KIND]])

Description:

Returns the lower bounds of a coarray, or a single lower cobound along the DIM codimension.

Class:

Inquiry function

Arguments:

ARRAY Shall be an coarray, of any type.
DIM (Optional) Shall be a scalar INTEGER.
KIND (Optional) A scalar INTEGER constant expression indicating the kind parameter of the result.

Return value:

The return value is of type INTEGER and of kind KIND. IfKIND is absent, the return value is of default integer kind. If DIM is absent, the result is an array of the lower cobounds ofCOARRAY. If DIM is present, the result is a scalar corresponding to the lower cobound of the array along that codimension.

Standard:

Fortran 2008 and later

See also:

UCOBOUND — Upper codimension bounds of an array,
LBOUND — Lower dimension bounds of an array