SORT_MVIDXL
Moves LOGICAL data using a supplied index
Invocation
CALL SORT_MVIDXL( N, IN, INDEX, OUT, STATUS )
Description
Moves the values in the array IN to the slots in the array OUT
given by the ordering array INDEX. This index ca be constructed
using (for example) one of the SORT_IDX* routines.
Arguments
-
N = INTEGER (given)
Number of values in arrays
-
IN = LOGICAL[] (given)
Input values to be moved
-
INDEX = INTEGER[] (given)
The ordering list
-
OUT = LOGICAL[] (returned)
The output ordered array
-
STATUS = INTEGER (given)
The global status.
References