Debian Codegraph @

contrib/ms-sbvar/utilities_dw/include/dw_matrix_sort.h

raw
1 /*
2 * Copyright (C) 1996-2011 Daniel Waggoner
3 *
4 * This free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * It is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * If you did not received a copy of the GNU General Public License
15 * with this software, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef __SORT_MATRICES__
19 #define __SORT_MATRICES__
20
21 #include "dw_matrix.h"
22
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif
27
28 TVector SortVectorAscending(TVector x, TVector y);
29 TVector SortVectorDescending(TVector x, TVector y);
30 TMatrix SortMatrixRowsAscending(TMatrix X, TMatrix Y, int j);
31 TMatrix SortMatrixRowsDescending(TMatrix X, TMatrix Y, int j);
32 TMatrix SortMatrixColumnsAscending(TMatrix X, TMatrix Y, int i);
33 TMatrix SortMatrixColumnsDescending(TMatrix X, TMatrix Y, int i);
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39 #endif