Mir 1.0
Mir application programming interface

Functions

mirkl_error_tmirml_nr_sort_shell (mirml_vector_t *a_v, mirkl_size_t m)
 Sorts an array a_v into ascending numerical order by Shell's method (diminishing increment sort). More...
 

Detailed Description

Function Documentation

◆ mirml_nr_sort_shell()

mirkl_error_t * mirml_nr_sort_shell ( mirml_vector_t a_v,
mirkl_size_t  m 
)

Sorts an array a_v into ascending numerical order by Shell's method (diminishing increment sort).

Parameters
[in]a_vArray to be sorted.
[in]mFirst m elements of input array will be sorted if m is > 0.