Class documentation of Concepts

Loading...
Searching...
No Matches
mindegree.hh
1/*----------------------------------------------------------------------------
2Sparse QR solver for linear systems of equations or least squares problems
3Copyright (C) 1996, Thomas H. Robey
4
5This library is free software; you can redistribute it and/or
6modify it under the terms of the GNU Library General Public
7License as published by the Free Software Foundation; either
8version 2 of the License, or (at your option) any later version.
9
10This library is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13Library General Public License for more details.
14
15You should have received a copy of the GNU Library General Public
16License along with this library; if not, write to the Free
17Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19Inquiries can be directed to trobey@arc.unm.edu or
20
21Thomas H. Robey
22925 Madison NE
23Albuquerque, NM 87110
24USA
25----------------------------------------------------------------------------*/
26
27#ifndef mindegree_hh
28#define mindegree_hh
29
30#include <stddef.h>
31
32namespace sparseqr {
33
38 class MinDegree {
39 public:
40 MinDegree(QR *,int);
41 ~MinDegree() {
42 delete[] degree;
43 };
44 int MinSearch(QR *,int,int,int *);
45 void Track(QR *,int,int,int);
46 void Untrack(QR *,int,int,int,int);
47 private:
48 int *degree,*list;
49 int *work;
50 };
51
52} // namespace sparseqr
53
54#endif // mindegree_hh