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

dbleCHOL.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_CHOL_h)
00024 #define octave_CHOL_h 1
00025 
00026 #if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)
00027 #pragma interface
00028 #endif
00029 
00030 #include <iostream>
00031 
00032 #include "dMatrix.h"
00033 
00034 class
00035 CHOL
00036 {
00037 public:
00038 
00039   CHOL (void) : chol_mat () { }
00040 
00041   CHOL (const Matrix& a) { init (a); }
00042 
00043   CHOL (const Matrix& a, int& info) { info = init (a); }
00044 
00045   CHOL (const CHOL& a) : chol_mat (a.chol_mat) { }
00046 
00047   CHOL& operator = (const CHOL& a)
00048     {
00049       if (this != &a)
00050         chol_mat = a.chol_mat;
00051 
00052       return *this;
00053     }
00054 
00055   Matrix chol_matrix (void) const { return chol_mat; }
00056 
00057   friend std::ostream& operator << (std::ostream& os, const CHOL& a);
00058 
00059 private:
00060 
00061   Matrix chol_mat;
00062 
00063   int init (const Matrix& a);
00064 };
00065 
00066 #endif
00067 
00068 /*
00069 ;;; Local Variables: ***
00070 ;;; mode: C++ ***
00071 ;;; End: ***
00072 */

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