NAG Library Manual, Mark 30.2
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_sort_rank_sort (m01dsc) Example Program Results

Example 1
    Data      Rank
    5.3000      6
    4.6000      5
    7.8000      9
    1.7000      1
    5.3000      7
    9.9000     11
    3.2000      2
    4.3000      3
    7.8000     10
    4.5000      4
    1.2000      0
    7.6000      8


Example 2
    Quantile   Result

    0.0000      1.1000
    0.2500      1.6000
    0.5000      4.2000
    0.7500      5.2000
    1.0000      6.2000