Mercurial > hg > octave-nkf
annotate liboctave/SparseCmplxLU.h @ 10480:19e1e4470e01
remove old sparse assembly ctors
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 31 Mar 2010 10:24:57 +0200 |
parents | cbc402e64d83 |
children | fd0a3ac60b0e |
rev | line source |
---|---|
5164 | 1 /* |
2 | |
8920 | 3 Copyright (C) 2004, 2005, 2006, 2007, 2008 David Bateman |
7016 | 4 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Andy Adler |
5 | |
6 This file is part of Octave. | |
5164 | 7 |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
5164 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
5164 | 21 |
22 */ | |
23 | |
24 #if !defined (octave_sparse_complex_LU_h) | |
25 #define octave_sparse_complex_LU_h 1 | |
26 | |
27 #include "sparse-base-lu.h" | |
28 #include "dSparse.h" | |
29 #include "CSparse.h" | |
30 | |
31 class | |
6108 | 32 OCTAVE_API |
5164 | 33 SparseComplexLU |
34 : public sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> | |
35 { | |
36 public: | |
37 | |
38 SparseComplexLU (void) | |
39 : sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> () { } | |
40 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
41 SparseComplexLU (const SparseComplexMatrix& a, |
10312
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
42 const Matrix& piv_thres = Matrix (), |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
43 bool scale = false); |
5164 | 44 |
45 SparseComplexLU (const SparseComplexMatrix& a, const ColumnVector& Qinit, | |
10312
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
46 const Matrix& piv_thres = Matrix (), |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
47 bool scale = false, bool FixedQ = false, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
48 double droptol = -1., bool milu = false, |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
49 bool udiag = false); |
5164 | 50 |
51 SparseComplexLU (const SparseComplexLU& a) | |
52 : sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> (a) { } | |
53 | |
54 SparseComplexLU& operator = (const SparseComplexLU& a) | |
55 { | |
56 if (this != &a) | |
10312
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
57 sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> |
cbc402e64d83
untabify liboctave header files
John W. Eaton <jwe@octave.org>
parents:
10158
diff
changeset
|
58 :: operator = (a); |
5164 | 59 |
60 return *this; | |
61 } | |
62 | |
63 ~SparseComplexLU (void) { } | |
64 }; | |
65 | |
66 #endif |