RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
shell_sort.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
3
* 2020 Freie Universität Berlin
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser General
6
* Public License v2.1. See the file LICENSE in the top level directory for more
7
* details.
8
*/
9
24
#ifndef SHELL_SORT_H_
25
#define SHELL_SORT_H_
26
27
#include <stdint.h>
28
#include "
vector.h
"
29
37
void
int_shell_sort
(
int
*array,
int
length);
38
46
void
shell_sort
(
vector_t
*arr, uint8_t length);
47
48
49
#endif
/* SHELL_SORT_H_ */
shell_sort
void shell_sort(vector_t *arr, uint8_t length)
Sort a data set of type utils_t by using the Shell sort algorithm.
Definition:
shell_sort.c:49
vector_t
#define vector_t
Define the data type of the vector elements.
Definition:
vector.h:33
int_shell_sort
void int_shell_sort(int *array, int length)
Sort a data set of integers by using the Shell sort algorithm.
Definition:
shell_sort.c:28
vector.h
Vector computations.
linear_algebra
utilities
include
shell_sort.h
Generated by
1.8.16