GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SparseCmplxLU.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2004-2015 David Bateman
4 Copyright (C) 1998-2004 Andy Adler
5 
6 This file is part of Octave.
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
10 Free Software Foundation; either version 3 of the License, or (at your
11 option) any later version.
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
19 along with Octave; see the file COPYING. If not, see
20 <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #if !defined (octave_SparseCmplxLU_h)
25 #define octave_SparseCmplxLU_h 1
26 
27 #include "sparse-base-lu.h"
28 #include "dSparse.h"
29 #include "CSparse.h"
30 
31 class
32 OCTAVE_API
35 {
36 public:
37 
40 
42  const Matrix& piv_thres = Matrix (),
43  bool scale = false);
44 
45  SparseComplexLU (const SparseComplexMatrix& a, const ColumnVector& Qinit,
46  const Matrix& piv_thres = Matrix (),
47  bool scale = false, bool FixedQ = false,
48  double droptol = -1., bool milu = false,
49  bool udiag = false);
50 
53  { }
54 
55  SparseComplexLU& operator = (const SparseComplexLU& a)
56  {
57  if (this != &a)
59  :: operator = (a);
60 
61  return *this;
62  }
63 
64  ~SparseComplexLU (void) { }
65 };
66 
67 #endif
SparseComplexLU(const SparseComplexLU &a)
Definition: SparseCmplxLU.h:51
~SparseComplexLU(void)
Definition: SparseCmplxLU.h:64
Definition: dMatrix.h:35
void scale(Matrix &m, double x, double y, double z)
Definition: graphics.cc:5281
std::complex< double > Complex
Definition: oct-cmplx.h:29