LF Fortran 95

Array Functions

Array Functions

Name

Description

Class

ALL

Determine whether all values in a mask are true along a given dimension.

Transformational

ALLOCATED

Indicate whether an allocatable array has been allocated.

Inquiry

ANY

Determine whether any values are true in a mask along a given dimension.

Transformational

COUNT

Count the number of true elements in a mask along a given dimension.

Transformational

CSHIFT

Circular shift of all rank one sections in an array. Elements shifted out at one end are shifted in at the other. Different sections can be shifted by different amounts and in different directions by using an array-valued shift.

Transformational

DOT_

PRODUCT

Dot-product multiplication of vectors.

Transformational

EOSHIFT

End-off shift of all rank one sections in an array. Elements are shifted out at one end and copies of boundary values are shifted in at the other. Different sections can be shifted by different amounts and in different directions by using an array-valued shift.

Transformational

LBOUND

Lower bounds of an array or a dimension of an array.

Inquiry

MATMUL

Matrix multiplication.

Transformational

MAXLOC

Location of the first element in array having the maximum value of the elements identified by mask.

Transformational

MAXVAL

Maximum value of elements of an array, along a given dimension, for which a mask is true.

Transformational

MERGE

Choose alternative values based on the value of a mask.

Elemental

MINLOC

Location of the first element in array having the minimum value of the elements identified by mask.

Transformational

MINVAL

Minimum value of elements of an array, along a given dimension, for which a mask is true.

Transformational

PACK

Pack an array into a vector under control of a mask.

Transformational

PRODUCT

Product of elements of an array, along a given dimension, for which a mask is true.

Transformational

RESHAPE

Construct an array of a specified shape from a given array.

Transformational

SHAPE

Shape of an array.

Inquiry

SIZE

Size of an array or a dimension of an array.

Inquiry

SPREAD

Adds a dimension to an array by adding copies of a data object along a given dimension.

Transformational

SUM

Sum of elements of an array, along a given dimension, for which a mask is true.

Transformational

TRANSPOSE

Transpose an array of rank two.

Transformational

UBOUND

Upper bounds of an array or a dimension of an array.

Inquiry

UNPACK

Unpack an array of rank one into an array under control of a mask.

Transformational