|
RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
|
Implement the Shell sort algorithm. More...
Go to the source code of this file.
Functions | |
| void | int_shell_sort (int *array, int length) |
| Sort a data set of integers by using the Shell sort algorithm. More... | |
| void | shell_sort (vector_t *arr, uint8_t length) |
| Sort a data set of type utils_t by using the Shell sort algorithm. More... | |
Implement the Shell sort algorithm.
The Shell sort algorithm is more convenient for devices with limited storage capacity.
Definition in file shell_sort.h.
| void int_shell_sort | ( | int * | array, |
| int | length | ||
| ) |
Sort a data set of integers by using the Shell sort algorithm.
| [in] | array[] | pointer to the data set. |
| [in] | length | size of the data set. |
Definition at line 28 of file shell_sort.c.
| void shell_sort | ( | vector_t * | arr, |
| uint8_t | length | ||
| ) |
Sort a data set of type utils_t by using the Shell sort algorithm.
| [in] | arr[] | pointer to the data set. |
| [in] | length | size of the data set. |
Definition at line 49 of file shell_sort.c.
References vector_t.
Referenced by recog_mitigate_multipath(), and utils_get_median().