There are four intrinsics in this class:
This function has the effect of merging two arrays under a mask, whether to include TSOURCE or FSOURCE in the result depends on LOGICAL array MASK; where it is .TRUE. the element from TSOURCE is included otherwise the element from FSOURCE is used instead.
This function replicates an array by adding NCOPIES along a dimension. The effect is analogous to taking a single page and replicating it to form a book with multiple copies of the same page. The result has one more dimension that the source array. SPREAD is useful during vectorisation of DO-loops.
This function packs an arbitrary dimensioned array into a one-dimensional vector under a mask. PACK is useful for compressing data.
This function unpacks a vector into an array under a mask, UNPACK is a complementary function to PACK and is therefore useful for uncompressing data.
Return to corresponding overview page