Octave-Forge - Extra packages for GNU Octave | |
Home · Packages · Developers · Documentation · FAQ · Bugs · Mailing Lists · Links · Code |
00001 /* 00002 00003 Copyright (C) 1994, 1995, 1996, 1997, 2002, 2004, 2005, 2006, 2007, 2008 00004 John W. Eaton 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_FloatLU_h) 00025 #define octave_FloatLU_h 1 00026 00027 #include "base-lu.h" 00028 #include "dMatrix.h" 00029 #include "fMatrix.h" 00030 00031 class 00032 OCTAVE_API 00033 FloatLU : public base_lu <FloatMatrix> 00034 { 00035 public: 00036 00037 FloatLU (void) : base_lu <FloatMatrix> () { } 00038 00039 FloatLU (const FloatMatrix& a); 00040 00041 FloatLU (const FloatLU& a) : base_lu <FloatMatrix> (a) { } 00042 00043 FloatLU (const FloatMatrix& l, const FloatMatrix& u, 00044 const PermMatrix& p) 00045 : base_lu <FloatMatrix> (l, u, p) { } 00046 00047 FloatLU& operator = (const FloatLU& a) 00048 { 00049 if (this != &a) 00050 base_lu <FloatMatrix> :: operator = (a); 00051 00052 return *this; 00053 } 00054 00055 ~FloatLU (void) { } 00056 00057 void update (const FloatColumnVector& u, const FloatColumnVector& v); 00058 00059 void update (const FloatMatrix& u, const FloatMatrix& v); 00060 00061 void update_piv (const FloatColumnVector& u, const FloatColumnVector& v); 00062 00063 void update_piv (const FloatMatrix& u, const FloatMatrix& v); 00064 }; 00065 00066 #endif 00067 00068 /* 00069 ;;; Local Variables: *** 00070 ;;; mode: C++ *** 00071 ;;; End: *** 00072 */