Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Intrinsic Functions for Arrays

The following table lists intrinsic functions for arrays.

Name

Description

ALL

Determines whether all array values meet the conditions in a mask along a (optional) dimension.

ANY

Determines whether any array values meet the conditions in a mask along a (optional) dimension.

COSHAPE

Returns the sizes of codimensions of a coarray.

COUNT

Counts the number of array elements that meet the conditions in a mask along a (optional) dimension.

CSHIFT

Performs a circular shift along a (optional) dimension.

DIMENSION

Specifies that an entity is an array and specifies its rank and bounds.

DOT_PRODUCT

Performs dot-product multiplication on vectors (one-dimensional arrays).

EOSHIFT

Shifts elements off one end of array along a (optional) dimension and copies (optional) boundary values in other end.

LBOUND

Returns lower dimensional bounds of an array along a (optional) dimension.

LCOBOUND

Returns the lower cobounds of a coarray.

MATMUL

Performs matrix multiplication on matrices (two-dimensional arrays).

MAXLOC

Returns the location of the maximum value in an array meeting conditions in a (optional) mask along a (optional) dimension.

MAXVAL

Returns the maximum value in an array along a (optional) dimension that meets conditions in a (optional) mask.

MERGE

Merges two arrays according to conditions in a mask.

MINLOC

Returns the location of the minimum value in an array meeting conditions in a (optional) mask along a (optional) dimension.

MINVAL

Returns the minimum value in an array along a (optional) dimension that meets conditions in a (optional) mask.

PACK

Packs an array into a vector (one-dimensional array) of a (optional) size using a mask.

PRODUCT

Returns product of elements of an array along a (optional) dimension that meet conditions in a (optional) mask.

REDUCE

Performs generalized array reduction.

RESHAPE

Reshapes an array with (optional) subscript order, padded with (optional) array elements.

SHAPE

Returns the shape of an array.

SIZE

Returns the extent of an array along a (optional) dimension.

SPREAD

Replicates an array by adding a dimension.

SUM

Sums array elements along a (optional) dimension that meet conditions of an (optional) mask.

TRANSPOSE

Transposes a two-dimensional array.

UBOUND

Returns upper dimensional bounds of an array along a (optional) dimension.

UCOBOUND

Returns the upper cobounds of a coarray.

UNPACK

Unpacks a vector (one-dimensional array) into an array under a mask padding with values from a field.