SparseCmplxLU.h

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 2004-2012 David Bateman
00004 Copyright (C) 1998-2004 Andy Adler
00005 
00006 This file is part of Octave.
00007 
00008 Octave is free software; you can redistribute it and/or modify it
00009 under the terms of the GNU General Public License as published by the
00010 Free Software Foundation; either version 3 of the License, or (at your
00011 option) any later version.
00012 
00013 Octave is distributed in the hope that it will be useful, but WITHOUT
00014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00015 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00016 for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with Octave; see the file COPYING.  If not, see
00020 <http://www.gnu.org/licenses/>.
00021 
00022 */
00023 
00024 #if !defined (octave_sparse_complex_LU_h)
00025 #define octave_sparse_complex_LU_h 1
00026 
00027 #include "sparse-base-lu.h"
00028 #include "dSparse.h"
00029 #include "CSparse.h"
00030 
00031 class
00032 OCTAVE_API
00033 SparseComplexLU
00034   : public sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double>
00035 {
00036 public:
00037 
00038   SparseComplexLU (void)
00039     : sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> () { }
00040 
00041   SparseComplexLU (const SparseComplexMatrix& a,
00042                    const Matrix& piv_thres = Matrix (),
00043                    bool scale = false);
00044 
00045   SparseComplexLU (const SparseComplexMatrix& a, const ColumnVector& Qinit,
00046                    const Matrix& piv_thres = Matrix (),
00047                    bool scale = false, bool FixedQ = false,
00048                    double droptol = -1., bool milu = false,
00049                    bool udiag = false);
00050 
00051   SparseComplexLU (const SparseComplexLU& a)
00052     : sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double> (a) { }
00053 
00054   SparseComplexLU& operator = (const SparseComplexLU& a)
00055     {
00056       if (this != &a)
00057         sparse_base_lu <SparseComplexMatrix, Complex, SparseMatrix, double>
00058           :: operator = (a);
00059 
00060       return *this;
00061     }
00062 
00063   ~SparseComplexLU (void) { }
00064 };
00065 
00066 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines