メインページ   クラス階層   構成   ファイル一覧   構成メンバ   ファイルメンバ  

base-lu.h

解説を見る。
00001 /*
00002 
00003 Copyright (C) 1996, 1997 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 2, or (at your option) any
00010 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, write to the Free
00019 Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00020 
00021 */
00022 
00023 #if !defined (octave_base_lu_h)
00024 #define octave_base_lu_h 1
00025 
00026 #if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)
00027 #pragma interface
00028 #endif
00029 
00030 #include "MArray.h"
00031 
00032 template <class lu_type, class lu_elt_type, class p_type, class p_elt_type>
00033 class
00034 base_lu
00035 {
00036 public:
00037 
00038   base_lu (void) { }
00039 
00040   base_lu (const base_lu& a) : a_fact (a.a_fact), ipvt (a.ipvt) { }
00041 
00042   base_lu& operator = (const base_lu& a)
00043     {
00044       if (this != &a)
00045         {
00046           a_fact = a.a_fact;
00047           ipvt = a.ipvt;
00048         }
00049       return *this;
00050     }
00051 
00052   ~base_lu (void) { }
00053 
00054   lu_type L (void) const;
00055 
00056   lu_type U (void) const;
00057 
00058   p_type P (void) const;
00059 
00060 protected:
00061 
00062   lu_type a_fact;
00063   MArray<int> ipvt;
00064 };
00065 
00066 #endif
00067 
00068 /*
00069 ;;; Local Variables: ***
00070 ;;; mode: C++ ***
00071 ;;; End: ***
00072 */

Wed Dec 29 11:50:55 2004に生成されました。 doxygen1.2.18
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送