Retrieves the element at index (i, j) for an array of general type. Returns the element as a (casted) complex type.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(*), | intent(in) | :: | array(:,:) | the general array |
||
integer, | intent(in) | :: | irow | row index of element |
||
integer, | intent(in) | :: | icol | column index of element |
the element at position (irow, icol), cast to complex