Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-7235B337-A637-4FF6-BF22-6B6BD9B030A0
Visible to Intel only — GUID: GUID-7235B337-A637-4FF6-BF22-6B6BD9B030A0
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..