Intel® Fortran Compiler 18.0 Developer Guide and Reference

IS_CONTIGUOUS

Inquiry Intrinsic Function (Generic): Tests the contiguity of an array.

result = IS_CONTIGUOUS (array)

array

(Input) Is an array; it can be of any data type. If it is a pointer, it must be associated.

Results

The result is default logical scalar. The result has the value .TRUE. if array is contiguous; otherwise, .FALSE..

Example

After the pointer assignment MY_P => TARGET (2:20:4), IS_CONTIGUOUS (MY_P) has the value .FALSE..

See Also