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_LU_h) |
|
25 #define octave_LU_h 1 |
|
26 |
1992
|
27 #include "base-lu.h" |
457
|
28 #include "dMatrix.h" |
|
29 |
1992
|
30 class |
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 */ |