5164
|
1 /* |
|
2 |
|
3 Copyright (C) 2004 David Bateman |
|
4 Copyright (C) 1998-2004 Andy Adler |
|
5 |
|
6 Octave is free software; you can redistribute it and/or modify it |
|
7 under the terms of the GNU General Public License as published by the |
|
8 Free Software Foundation; either version 2, or (at your option) any |
|
9 later version. |
|
10 |
|
11 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 for more details. |
|
15 |
|
16 You should have received a copy of the GNU General Public License |
|
17 along with this program; see the file COPYING. If not, write to the Free |
|
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
19 |
|
20 */ |
|
21 |
|
22 #if !defined (octave_sparse_complex_LU_h) |
|
23 #define octave_sparse_complex_LU_h 1 |
|
24 |
|
25 #include "sparse-base-lu.h" |
|
26 #include "dSparse.h" |
|
27 #include "CSparse.h" |
|
28 |
|
29 class |
|
30 SparseComplexLU |
|
31 : public sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> |
|
32 { |
|
33 public: |
|
34 |
|
35 SparseComplexLU (void) |
|
36 : sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> () { } |
|
37 |
|
38 SparseComplexLU (const SparseComplexMatrix& a, double piv_thres = -1); |
|
39 |
|
40 SparseComplexLU (const SparseComplexMatrix& a, const ColumnVector& Qinit, |
|
41 double piv_thres = -1, bool FixedQ = false); |
|
42 |
|
43 SparseComplexLU (const SparseComplexLU& a) |
|
44 : sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> (a) { } |
|
45 |
|
46 SparseComplexLU& operator = (const SparseComplexLU& a) |
|
47 { |
|
48 if (this != &a) |
|
49 sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> |
|
50 :: operator = (a); |
|
51 |
|
52 return *this; |
|
53 } |
|
54 |
|
55 ~SparseComplexLU (void) { } |
|
56 }; |
|
57 |
|
58 #endif |
|
59 |
|
60 /* |
|
61 ;;; Local Variables: *** |
|
62 ;;; mode: C++ *** |
|
63 ;;; End: *** |
|
64 */ |