m01eaf is designed to be used typically in conjunction with the ranking routines
m01daf,
m01dbf,
m01dcf,
m01def,
m01dff,
m01djf,
m01dkf and
m01dzf. After one of those routines has been called to determine a vector of ranks,
m01eaf can be called to rearrange a vector of real numbers into the rank order. If the vector of ranks has been generated in some other way, then
m01zbf should be called to check its validity before
m01eaf is called.
None.
If on entry
or
, explanatory error messages are output on the current error message unit (as defined by
x04aaf).
Not applicable.
Background information to multithreading can be found in the
Multithreading documentation.
This example reads a matrix of real numbers and rearranges its rows so that the elements of the
th column are in ascending order. To do this, the program first calls
m01daf to rank the elements of the
th column, and then calls
m01eaf to rearrange each column into the order specified by the ranks. The value of
is read from the datafile.