Octave-Forge - Extra packages for GNU Octave | |
Home · Packages · Developers · Documentation · FAQ · Bugs · Mailing Lists · Links · Code |
00001 /* 00002 00003 Copyright (C) 2004, 2005, 2006, 2007 David Bateman 00004 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Andy Adler 00005 00006 This file is part of Octave. 00007 00008 Octave is free software; you can redistribute it and/or modify it 00009 under the terms of the GNU General Public License as published by the 00010 Free Software Foundation; either version 3 of the License, or (at your 00011 option) any later version. 00012 00013 Octave is distributed in the hope that it will be useful, but WITHOUT 00014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00015 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00016 for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with Octave; see the file COPYING. If not, see 00020 <http://www.gnu.org/licenses/>. 00021 00022 */ 00023 00024 #if !defined (octave_sparse_sort_h) 00025 #define octave_sparse_sort_h 00026 00027 #include "oct-sort.h" 00028 00029 class 00030 octave_sparse_sort_idxl 00031 { 00032 public: 00033 octave_idx_type r; 00034 octave_idx_type c; 00035 octave_idx_type idx; 00036 }; 00037 00038 bool octave_sparse_sidxl_comp (octave_sparse_sort_idxl* i, 00039 octave_sparse_sort_idxl* j); 00040 00041 class 00042 octave_idx_vector_sort 00043 { 00044 public: 00045 octave_idx_type i; 00046 octave_idx_type idx; 00047 }; 00048 00049 bool octave_idx_vector_comp (octave_idx_vector_sort* i, 00050 octave_idx_vector_sort* j); 00051 00052 #endif 00053 00054 /* 00055 ;;; Local Variables: *** 00056 ;;; mode: C++ *** 00057 ;;; End: *** 00058 */