This manual relates to an old release of the Library.
The documentation for the current release is also available on this site.

NAG Library Chapter Contents

M01 (sort)
Sorting and Searching


M01 (sort) Chapter Introduction – a description of the Chapter and an overview of the algorithms available

Routine
Name
Mark of
Introduction

Purpose
m01caf
Example Text
Example Data
12 nagf_sort_realvec_sort
Sort a vector, real numbers
m01cbf
Example Text
Example Data
12 nagf_sort_intvec_sort
Sort a vector, integer numbers
m01ccf
Example Text
Example Data
12 nagf_sort_charvec_sort
Sort a vector, character data
m01daf
Example Text
Example Data
12 nagf_sort_realvec_rank
Rank a vector, real numbers
m01dbf
Example Text
Example Data
12 nagf_sort_intvec_rank
Rank a vector, integer numbers
m01dcf
Example Text
Example Data
12 nagf_sort_charvec_rank
Rank a vector, character data
m01def
Example Text
Example Data
12 nagf_sort_realmat_rank_rows
Rank rows of a matrix, real numbers
m01dff
Example Text
Example Data
12 nagf_sort_intmat_rank_rows
Rank rows of a matrix, integer numbers
m01djf
Example Text
Example Data
12 nagf_sort_realmat_rank_columns
Rank columns of a matrix, real numbers
m01dkf
Example Text
Example Data
12 nagf_sort_intmat_rank_columns
Rank columns of a matrix, integer numbers
m01dzf
Example Text
Example Data
12 nagf_sort_arbitrary_rank
Rank arbitrary data
m01eaf
Example Text
Example Data
12 nagf_sort_realvec_rank_rearrange
Rearrange a vector according to given ranks, real numbers
m01ebf
Example Text
Example Data
12 nagf_sort_intvec_rank_rearrange
Rearrange a vector according to given ranks, integer numbers
m01ecf
Example Text
Example Data
12 nagf_sort_charvec_rank_rearrange
Rearrange a vector according to given ranks, character data
m01edf
Example Text
Example Data
19 nagf_sort_cmplxvec_rank_rearrange
Rearrange a vector according to given ranks, complex numbers
m01naf
Example Text
Example Data
22 nagf_sort_realvec_search
Binary search in set of real numbers
m01nbf
Example Text
Example Data
22 nagf_sort_intvec_search
Binary search in set of integer numbers
m01ncf
Example Text
Example Data
22 nagf_sort_charvec_search
Binary search in set of character data
m01zaf
Example Text
Example Data
12 nagf_sort_permute_invert
Invert a permutation
m01zbf
Example Text
Example Data
12 nagf_sort_permute_check
Check validity of a permutation
m01zcf
Example Text
Example Data
12 nagf_sort_permute_decompose
Decompose a permutation into cycles