457
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
457
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
5307
|
19 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
20 02110-1301, USA. |
457
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (octave_ComplexLU_h) |
|
25 #define octave_Complex_LU_h 1 |
|
26 |
1992
|
27 #include "base-lu.h" |
457
|
28 #include "dMatrix.h" |
|
29 #include "CMatrix.h" |
|
30 |
1881
|
31 class |
6108
|
32 OCTAVE_API |
2049
|
33 ComplexLU : public base_lu <ComplexMatrix, Complex, Matrix, double> |
457
|
34 { |
|
35 public: |
|
36 |
2049
|
37 ComplexLU (void) |
|
38 : base_lu <ComplexMatrix, Complex, Matrix, double> () { } |
457
|
39 |
|
40 ComplexLU (const ComplexMatrix& a); |
|
41 |
2049
|
42 ComplexLU (const ComplexLU& a) |
|
43 : base_lu <ComplexMatrix, Complex, Matrix, double> (a) { } |
457
|
44 |
1528
|
45 ComplexLU& operator = (const ComplexLU& a) |
|
46 { |
1881
|
47 if (this != &a) |
2049
|
48 base_lu <ComplexMatrix, Complex, Matrix, double> :: 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 */ |