Mercurial > hg > octave-lyh
annotate liboctave/dbleLU.h @ 8856:ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 24 Feb 2009 11:15:05 +0100 |
parents | 445d27d79f4e |
children | eb63fbe60fab |
rev | line source |
---|---|
457 | 1 /* |
2 | |
7017 | 3 Copyright (C) 1994, 1995, 1996, 1997, 2002, 2004, 2005, 2006, 2007 |
4 John W. Eaton | |
457 | 5 |
6 This file is part of Octave. | |
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. | |
457 | 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/>. | |
457 | 21 |
22 */ | |
23 | |
24 #if !defined (octave_LU_h) | |
25 #define octave_LU_h 1 | |
26 | |
1992 | 27 #include "base-lu.h" |
457 | 28 #include "dMatrix.h" |
29 | |
1992 | 30 class |
6108 | 31 OCTAVE_API |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
7017
diff
changeset
|
32 LU : public base_lu <Matrix> |
457 | 33 { |
34 public: | |
35 | |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
7017
diff
changeset
|
36 LU (void) : base_lu <Matrix> () { } |
457 | 37 |
38 LU (const Matrix& a); | |
39 | |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
7017
diff
changeset
|
40 LU (const LU& a) : base_lu <Matrix> (a) { } |
457 | 41 |
1528 | 42 LU& operator = (const LU& a) |
43 { | |
1881 | 44 if (this != &a) |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
7017
diff
changeset
|
45 base_lu <Matrix> :: operator = (a); |
1992 | 46 |
1528 | 47 return *this; |
48 } | |
49 | |
1926 | 50 ~LU (void) { } |
457 | 51 }; |
52 | |
53 #endif | |
54 | |
55 /* | |
56 ;;; Local Variables: *** | |
57 ;;; mode: C++ *** | |
58 ;;; End: *** | |
59 */ |