CmplxLU.h

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