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 |
7016
|
9 Free Software Foundation; either version 3 of the License, or (at your |
|
10 option) any later version. |
457
|
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 |
7016
|
18 along with Octave; see the file COPYING. If not, see |
|
19 <http://www.gnu.org/licenses/>. |
457
|
20 |
|
21 */ |
|
22 |
|
23 #if !defined (octave_LU_h) |
|
24 #define octave_LU_h 1 |
|
25 |
1992
|
26 #include "base-lu.h" |
457
|
27 #include "dMatrix.h" |
|
28 |
1992
|
29 class |
6108
|
30 OCTAVE_API |
2049
|
31 LU : public base_lu <Matrix, double, Matrix, double> |
457
|
32 { |
|
33 public: |
|
34 |
2049
|
35 LU (void) : base_lu <Matrix, double, Matrix, double> () { } |
457
|
36 |
|
37 LU (const Matrix& a); |
|
38 |
2049
|
39 LU (const LU& a) : base_lu <Matrix, double, Matrix, double> (a) { } |
457
|
40 |
1528
|
41 LU& operator = (const LU& a) |
|
42 { |
1881
|
43 if (this != &a) |
2049
|
44 base_lu <Matrix, double, Matrix, double> :: operator = (a); |
1992
|
45 |
1528
|
46 return *this; |
|
47 } |
|
48 |
1926
|
49 ~LU (void) { } |
457
|
50 }; |
|
51 |
|
52 #endif |
|
53 |
|
54 /* |
|
55 ;;; Local Variables: *** |
|
56 ;;; mode: C++ *** |
|
57 ;;; End: *** |
|
58 */ |