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 |
6108
|
31 OCTAVE_API |
2049
|
32 LU : public base_lu <Matrix, double, Matrix, double> |
457
|
33 { |
|
34 public: |
|
35 |
2049
|
36 LU (void) : base_lu <Matrix, double, Matrix, double> () { } |
457
|
37 |
|
38 LU (const Matrix& a); |
|
39 |
2049
|
40 LU (const LU& a) : base_lu <Matrix, double, Matrix, double> (a) { } |
457
|
41 |
1528
|
42 LU& operator = (const LU& a) |
|
43 { |
1881
|
44 if (this != &a) |
2049
|
45 base_lu <Matrix, double, Matrix, double> :: 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 */ |