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

NAG FL Interface
M01 (Sort)
Sorting and Searching

Settings help

FL Name Style:


FL Specification Language:


M01 (Sort) Chapter Introduction – A description of the Chapter and an overview of the algorithms available.

Routine
Mark of
Introduction

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