Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

sparseqr/mindegree.hh
Go to the documentation of this file.
00001 /*----------------------------------------------------------------------------
00002 Sparse QR solver for linear systems of equations or least squares problems
00003 Copyright (C) 1996, Thomas H. Robey
00004 
00005 This library is free software; you can redistribute it and/or
00006 modify it under the terms of the GNU Library General Public
00007 License as published by the Free Software Foundation; either
00008 version 2 of the License, or (at your option) any later version.
00009 
00010 This library is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 Library General Public License for more details.
00014 
00015 You should have received a copy of the GNU Library General Public
00016 License along with this library; if not, write to the Free
00017 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018 
00019 Inquiries can be directed to trobey@arc.unm.edu or
00020 
00021 Thomas H. Robey
00022 925 Madison NE
00023 Albuquerque, NM  87110
00024 USA
00025 ----------------------------------------------------------------------------*/
00026 
00027 #ifndef mindegree_hh
00028 #define mindegree_hh
00029 
00030 #include <stddef.h>
00031 
00032 namespace sparseqr {
00033 
00038   class MinDegree {
00039   public:
00040     MinDegree(QR *,int);
00041     ~MinDegree() {
00042       delete[] degree;
00043     };
00044     int MinSearch(QR *,int,int,int *);
00045     void Track(QR *,int,int,int);
00046     void Untrack(QR *,int,int,int,int);
00047   private:
00048     int *degree,*list;
00049     int *work;
00050   };
00051 
00052 } // namespace sparseqr
00053 
00054 #endif // mindegree_hh

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)