Mercurial > hg > octave-nkf
annotate liboctave/CmplxLU.h @ 12107:1fc9fd052f0c release-3-2-x
fix typo in expm
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 25 Nov 2009 12:05:03 +0100 |
parents | eb63fbe60fab |
children | 6f3ffe11d926 |
rev | line source |
---|---|
457 | 1 /* |
2 | |
8920 | 3 Copyright (C) 1994, 1995, 1996, 1997, 2002, 2004, 2005, 2006, 2007, 2008 |
7017 | 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_ComplexLU_h) | |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
25 #define octave_ComplexLU_h 1 |
457 | 26 |
1992 | 27 #include "base-lu.h" |
457 | 28 #include "dMatrix.h" |
29 #include "CMatrix.h" | |
30 | |
1881 | 31 class |
6108 | 32 OCTAVE_API |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8018
diff
changeset
|
33 ComplexLU : public base_lu <ComplexMatrix> |
457 | 34 { |
35 public: | |
36 | |
2049 | 37 ComplexLU (void) |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8018
diff
changeset
|
38 : base_lu <ComplexMatrix> () { } |
457 | 39 |
40 ComplexLU (const ComplexMatrix& a); | |
41 | |
2049 | 42 ComplexLU (const ComplexLU& a) |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8018
diff
changeset
|
43 : base_lu <ComplexMatrix> (a) { } |
457 | 44 |
1528 | 45 ComplexLU& operator = (const ComplexLU& a) |
46 { | |
1881 | 47 if (this != &a) |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8018
diff
changeset
|
48 base_lu <ComplexMatrix> :: operator = (a); |
1992 | 49 |
1528 | 50 return *this; |
51 } | |
52 | |
1926 | 53 ~ComplexLU (void) { } |
457 | 54 }; |
55 | |
56 #endif | |
57 | |
58 /* | |
59 ;;; Local Variables: *** | |
60 ;;; mode: C++ *** | |
61 ;;; End: *** | |
62 */ |