SORT_IDXI

Create an index for a 1-dimensional INTEGER array

Invocation

CALL SORT_IDXI( N, IN, ASCEND, INDEX, STATUS )

Description

Creates an integer index or rank list for the input array IN. The index lists the indices of the elements of IN in ascending or descending order depending on the value of ASCEND.

Arguments

References

CODE