5164
|
1 /* |
|
2 |
7017
|
3 Copyright (C) 2004, 2005, 2006, 2007 David Bateman |
7016
|
4 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Andy Adler |
|
5 |
|
6 This file is part of Octave. |
5164
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
7016
|
10 Free Software Foundation; either version 3 of the License, or (at your |
|
11 option) any later version. |
5164
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
7016
|
19 along with Octave; see the file COPYING. If not, see |
|
20 <http://www.gnu.org/licenses/>. |
5164
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (octave_sparse_sort_h) |
|
25 #define octave_sparse_sort_h |
|
26 |
|
27 #include "oct-sort.h" |
|
28 |
|
29 class |
|
30 octave_sparse_sort_idxl |
|
31 { |
5603
|
32 public: |
|
33 octave_idx_type r; |
|
34 octave_idx_type c; |
|
35 octave_idx_type idx; |
5164
|
36 }; |
|
37 |
|
38 bool octave_sparse_sidxl_comp (octave_sparse_sort_idxl* i, |
|
39 octave_sparse_sort_idxl* j); |
|
40 |
5603
|
41 class |
|
42 octave_idx_vector_sort |
|
43 { |
|
44 public: |
|
45 octave_idx_type i; |
|
46 octave_idx_type idx; |
|
47 }; |
|
48 |
|
49 bool octave_idx_vector_comp (octave_idx_vector_sort* i, |
|
50 octave_idx_vector_sort* j); |
|
51 |
5164
|
52 #endif |