5164
|
1 /* |
|
2 |
|
3 Copyright (C) 2004 David Bateman |
|
4 Copyright (C) 1998-2004 Andy Adler |
|
5 |
|
6 Octave is free software; you can redistribute it and/or modify it |
|
7 under the terms of the GNU General Public License as published by the |
|
8 Free Software Foundation; either version 2, or (at your option) any |
|
9 later version. |
|
10 |
|
11 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 for more details. |
|
15 |
|
16 You should have received a copy of the GNU General Public License |
5307
|
17 along with this program; see the file COPYING. If not, write to the |
|
18 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|
19 Boston, MA 02110-1301, USA. |
5164
|
20 |
|
21 */ |
|
22 |
|
23 #if !defined (octave_sparse_sort_h) |
|
24 #define octave_sparse_sort_h |
|
25 |
|
26 #include "oct-sort.h" |
|
27 |
|
28 class |
|
29 octave_sparse_sort_idxl |
|
30 { |
5603
|
31 public: |
|
32 octave_idx_type r; |
|
33 octave_idx_type c; |
|
34 octave_idx_type idx; |
5164
|
35 }; |
|
36 |
|
37 bool octave_sparse_sidxl_comp (octave_sparse_sort_idxl* i, |
|
38 octave_sparse_sort_idxl* j); |
|
39 |
5603
|
40 class |
|
41 octave_idx_vector_sort |
|
42 { |
|
43 public: |
|
44 octave_idx_type i; |
|
45 octave_idx_type idx; |
|
46 }; |
|
47 |
|
48 bool octave_idx_vector_comp (octave_idx_vector_sort* i, |
|
49 octave_idx_vector_sort* j); |
|
50 |
5164
|
51 #endif |
|
52 |
|
53 /* |
|
54 ;;; Local Variables: *** |
|
55 ;;; mode: C++ *** |
|
56 ;;; End: *** |
|
57 */ |