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_FloatComplexLU_h) 00024 #define octave_FloatComplexLU_h 1 00025 00026 #include "base-lu.h" 00027 #include "dMatrix.h" 00028 #include "fCMatrix.h" 00029 00030 class 00031 OCTAVE_API 00032 FloatComplexLU : public base_lu <FloatComplexMatrix> 00033 { 00034 public: 00035 00036 FloatComplexLU (void) 00037 : base_lu <FloatComplexMatrix> () { } 00038 00039 FloatComplexLU (const FloatComplexMatrix& a); 00040 00041 FloatComplexLU (const FloatComplexLU& a) 00042 : base_lu <FloatComplexMatrix> (a) { } 00043 00044 FloatComplexLU (const FloatComplexMatrix& l, const FloatComplexMatrix& u, 00045 const PermMatrix& p) 00046 : base_lu <FloatComplexMatrix> (l, u, p) { } 00047 00048 FloatComplexLU& operator = (const FloatComplexLU& a) 00049 { 00050 if (this != &a) 00051 base_lu <FloatComplexMatrix> :: operator = (a); 00052 00053 return *this; 00054 } 00055 00056 ~FloatComplexLU (void) { } 00057 00058 void update (const FloatComplexColumnVector& u, const FloatComplexColumnVector& v); 00059 00060 void update (const FloatComplexMatrix& u, const FloatComplexMatrix& v); 00061 00062 void update_piv (const FloatComplexColumnVector& u, const FloatComplexColumnVector& v); 00063 00064 void update_piv (const FloatComplexMatrix& u, const FloatComplexMatrix& v); 00065 }; 00066 00067 #endif