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.
Intrinsic Functions for Arrays and Coarrays
The following table lists intrinsic functions for arrays.
Name |
Description |
---|---|
Determines whether all array values meet the conditions in a mask along a (optional) dimension. |
|
Determines whether any array values meet the conditions in a mask along a (optional) dimension. |
|
Counts the number of array elements that meet the conditions in a mask along a (optional) dimension. |
|
Performs a circular shift along a (optional) dimension. |
|
Performs dot-product multiplication on vectors (one-dimensional arrays). |
|
Shifts elements off one end of array along a (optional) dimension and copies (optional) boundary values in other end. |
|
Reduces an array by the IAND function. |
|
Reduces an array by the IOR function. |
|
Reduces an array by the IEOR function. |
|
Returns lower dimensional bounds of an array along a (optional) dimension. |
|
Performs matrix multiplication on matrices (two-dimensional arrays). |
|
Returns the location of the maximum value in an array meeting conditions in a (optional) mask along a (optional) dimension. |
|
Returns the maximum value in an array along a (optional) dimension that meets conditions in a (optional) mask. |
|
Merges two arrays according to conditions in a mask. |
|
Returns the location of the minimum value in an array meeting conditions in a (optional) mask along a (optional) dimension. |
|
Returns the minimum value in an array along a (optional) dimension that meets conditions in a (optional) mask. |
|
Returns the L 2 norm of an array. |
|
Packs an array into a vector (one-dimensional array) of a (optional) size using a mask. |
|
Returns product of elements of an array along a (optional) dimension that meet conditions in a (optional) mask. |
|
Returns the rank of a data object. |
|
Performs user-specified array reduction. |
|
Reshapes an array with (optional) subscript order, padded with (optional) array elements. |
|
Returns the shape of an array. |
|
Returns the extent of an array along a (optional) dimension. |
|
Replicates an array by adding a dimension. |
|
Sums array elements along a (optional) dimension that meet conditions of an (optional) mask. |
|
Transposes a two-dimensional array. |
|
Returns upper dimensional bounds of an array along a (optional) dimension. |
|
Unpacks a vector (one-dimensional array) into an array under a mask padding with values from a field. |
The following table lists intrinsic functions for coarrays.
Name |
Description |
---|---|
Returns the sizes of codimensions of a coarray. |
|
Returns the event count. |
|
Returns the indices of images that are no longer responding. |
|
Returns the image index corresponding to an element of a coarray with a given set of cosubscripts. |
|
Returns the execution status of an image. |
|
Returns the lower cobounds of a coarray. |
|
Returns the number of images. |
|
Returns the indices images that have initiated termination. |
|
Returns the team number of its argument. |
|
Returns the index of the invoking image, or the cosubscripts for this image. |
|
Returns the upper cobounds of a coarray. |