Intel® Fortran Compiler 17.0 Developer Guide and Reference
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. |
The result is default logical scalar. The result has the value .TRUE. if array is contiguous; otherwise, .FALSE..
After the pointer assignment MY_P => TARGET (2:20:4), IS_CONTIGUOUS (MY_P) has the value .FALSE..