Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > 263386785cefb9ae5d63b926d214d809 > files > 28

mpqc-2.1.2-4mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>blkiter.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:16:35 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>blkiter.h</h1><div class="fragment"><pre>00001 <font class="comment">//</font>
00002 <font class="comment">// blkiter.h</font>
00003 <font class="comment">//</font>
00004 <font class="comment">// Copyright (C) 1996 Limit Point Systems, Inc.</font>
00005 <font class="comment">//</font>
00006 <font class="comment">// Author: Curtis Janssen &lt;cljanss@limitpt.com&gt;</font>
00007 <font class="comment">// Maintainer: LPS</font>
00008 <font class="comment">//</font>
00009 <font class="comment">// This file is part of the SC Toolkit.</font>
00010 <font class="comment">//</font>
00011 <font class="comment">// The SC Toolkit is free software; you can redistribute it and/or modify</font>
00012 <font class="comment">// it under the terms of the GNU Library General Public License as published by</font>
00013 <font class="comment">// the Free Software Foundation; either version 2, or (at your option)</font>
00014 <font class="comment">// any later version.</font>
00015 <font class="comment">//</font>
00016 <font class="comment">// The SC Toolkit is distributed in the hope that it will be useful,</font>
00017 <font class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</font>
00018 <font class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</font>
00019 <font class="comment">// GNU Library General Public License for more details.</font>
00020 <font class="comment">//</font>
00021 <font class="comment">// You should have received a copy of the GNU Library General Public License</font>
00022 <font class="comment">// along with the SC Toolkit; see the file COPYING.LIB.  If not, write to</font>
00023 <font class="comment">// the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.</font>
00024 <font class="comment">//</font>
00025 <font class="comment">// The U.S. Government is granted a limited license as per AL 91-7.</font>
00026 <font class="comment">//</font>
00027 
00028 <font class="preprocessor">#ifndef _math_scmat_blkiter_h</font>
00029 <font class="preprocessor"></font><font class="preprocessor">#define _math_scmat_blkiter_h</font>
00030 <font class="preprocessor"></font>
00031 <font class="preprocessor">#ifdef __GNUC__</font>
00032 <font class="preprocessor"></font><font class="preprocessor">#pragma interface</font>
00033 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
00034 <font class="preprocessor"></font>
00035 <font class="preprocessor">#include &lt;math/scmat/block.h&gt;</font>
00036 
00037 <font class="keyword">namespace </font>sc {
00038 
00039 <font class="keyword">class </font>SCMatrixRectBlock;
00040 <font class="keyword">class </font>SCMatrixLTriBlock;
00041 <font class="keyword">class </font>SCMatrixDiagBlock;
00042 <font class="keyword">class </font>SCVectorSimpleBlock;
00043 
00044 <font class="keyword">class </font>SCElementOp;
00045 <font class="keyword">class </font>SCElementOp2;
00046 <font class="keyword">class </font>SCElementOp3;
00047 
<a name="l00050"></a><a class="code" href="class_sc__SCMatrixBlockIter.html">00050</a> <font class="keyword">class </font>SCMatrixBlockIter {
00051   <font class="keyword">public</font>:
00052     SCMatrixBlockIter()<font class="keyword"> </font>{}
00053     <font class="keyword">virtual</font> ~SCMatrixBlockIter();
00055     <font class="keyword">virtual</font> <font class="keywordtype">int</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a2">i</a>() = 0;
00057     <font class="keyword">virtual</font> <font class="keywordtype">int</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a3">j</a>() = 0;
00059     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a4">set</a>(<font class="keywordtype">double</font> val) = 0;
00061     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a5">accum</a>(<font class="keywordtype">double</font> val);
00063     <font class="keyword">virtual</font> <font class="keywordtype">double</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a6">get</a>() = 0;
00065     <font class="keyword">virtual</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a7">operator int</a>() = 0;
00067     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a8">operator++</a>() = 0; <font class="comment">// prefix ++</font>
00068     <font class="keywordtype">void</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a8">operator++</a>(<font class="keywordtype">int</font>)<font class="keyword"> </font>{ <a class="code" href="class_sc__SCMatrixBlockIter.html#a8">operator++</a>(); }
00070     <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="class_sc__SCMatrixBlockIter.html#a10">reset</a>() = 0;
00071 };
00072 
00073 <font class="keyword">class </font>SCMatrixRectBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00074   <font class="keyword">private</font>:
00075     SCMatrixRectBlock* block;
00076     <font class="keywordtype">int</font> i_;
00077     <font class="keywordtype">int</font> block_index;
00078     <font class="keywordtype">int</font> j_;
00079   <font class="keyword">public</font>:
00080     SCMatrixRectBlockIter(SCMatrixRectBlock*);
00081     <font class="keyword">virtual</font> ~SCMatrixRectBlockIter();
00082     <font class="keywordtype">int</font> i();
00083     <font class="keywordtype">int</font> j();
00084     <font class="keywordtype">double</font> get();
00085     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00086     operator int();
00087     <font class="keywordtype">void</font> operator++();
00088     <font class="keywordtype">void</font> reset();
00089 };
00090 
00091 <font class="keyword">class </font>SCMatrixRectSubBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00092   <font class="keyword">private</font>:
00093     SCMatrixRectSubBlock* block;
00094     <font class="keywordtype">int</font> i_;
00095     <font class="keywordtype">int</font> block_index;
00096     <font class="keywordtype">int</font> j_;
00097   <font class="keyword">public</font>:
00098     SCMatrixRectSubBlockIter(SCMatrixRectSubBlock*);
00099     <font class="keyword">virtual</font> ~SCMatrixRectSubBlockIter();
00100     <font class="keywordtype">int</font> i();
00101     <font class="keywordtype">int</font> j();
00102     <font class="keywordtype">double</font> get();
00103     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00104     operator int();
00105     <font class="keywordtype">void</font> operator++();
00106     <font class="keywordtype">void</font> reset();
00107 };
00108 
00109 <font class="keyword">class </font>SCMatrixLTriBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00110   <font class="keyword">private</font>:
00111     SCMatrixLTriBlock* block;
00112     <font class="keywordtype">int</font> block_index;
00113     <font class="keywordtype">int</font> i_;
00114     <font class="keywordtype">int</font> j_;
00115   <font class="keyword">public</font>:
00116     SCMatrixLTriBlockIter(SCMatrixLTriBlock*);
00117     <font class="keyword">virtual</font> ~SCMatrixLTriBlockIter();
00118     <font class="keywordtype">int</font> i();
00119     <font class="keywordtype">int</font> j();
00120     <font class="keywordtype">double</font> get();
00121     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00122     operator int();
00123     <font class="keywordtype">void</font> operator++();
00124     <font class="keywordtype">void</font> reset();
00125 };
00126 
00127 <font class="keyword">class </font>SCMatrixLTriSubBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00128   <font class="keyword">private</font>:
00129     SCMatrixLTriSubBlock* block;
00130     <font class="keywordtype">int</font> block_index;
00131     <font class="keywordtype">int</font> i_;
00132     <font class="keywordtype">int</font> j_;
00133   <font class="keyword">public</font>:
00134     SCMatrixLTriSubBlockIter(SCMatrixLTriSubBlock*);
00135     <font class="keyword">virtual</font> ~SCMatrixLTriSubBlockIter();
00136     <font class="keywordtype">int</font> i();
00137     <font class="keywordtype">int</font> j();
00138     <font class="keywordtype">double</font> get();
00139     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00140     operator int();
00141     <font class="keywordtype">void</font> operator++();
00142     <font class="keywordtype">void</font> reset();
00143 };
00144 
00145 <font class="keyword">class </font>SCMatrixDiagBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00146   <font class="keyword">private</font>:
00147     SCMatrixDiagBlock* block;
00148     <font class="keywordtype">int</font> block_index;
00149     <font class="keywordtype">int</font> i_;
00150   <font class="keyword">public</font>:
00151     SCMatrixDiagBlockIter(SCMatrixDiagBlock*);
00152     <font class="keyword">virtual</font> ~SCMatrixDiagBlockIter();
00153     <font class="keywordtype">int</font> i();
00154     <font class="keywordtype">int</font> j();
00155     <font class="keywordtype">double</font> get();
00156     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00157     operator int();
00158     <font class="keywordtype">void</font> operator++();
00159     <font class="keywordtype">void</font> reset();
00160 };
00161 
00162 <font class="keyword">class </font>SCMatrixDiagSubBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00163   <font class="keyword">private</font>:
00164     SCMatrixDiagSubBlock* block;
00165     <font class="keywordtype">int</font> block_index;
00166     <font class="keywordtype">int</font> i_;
00167   <font class="keyword">public</font>:
00168     SCMatrixDiagSubBlockIter(SCMatrixDiagSubBlock*);
00169     <font class="keyword">virtual</font> ~SCMatrixDiagSubBlockIter();
00170     <font class="keywordtype">int</font> i();
00171     <font class="keywordtype">int</font> j();
00172     <font class="keywordtype">double</font> get();
00173     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00174     operator int();
00175     <font class="keywordtype">void</font> operator++();
00176     <font class="keywordtype">void</font> reset();
00177 };
00178 
00179 <font class="keyword">class </font>SCVectorSimpleBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00180   <font class="keyword">private</font>:
00181     SCVectorSimpleBlock* block;
00182     <font class="keywordtype">int</font> block_index;
00183     <font class="keywordtype">int</font> i_;
00184   <font class="keyword">public</font>:
00185     SCVectorSimpleBlockIter(SCVectorSimpleBlock*);
00186     <font class="keyword">virtual</font> ~SCVectorSimpleBlockIter();
00187     <font class="keywordtype">int</font> i();
00188     <font class="keywordtype">int</font> j();
00189     <font class="keywordtype">double</font> get();
00190     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00191     operator int();
00192     <font class="keywordtype">void</font> operator++();
00193     <font class="keywordtype">void</font> reset();
00194 };
00195 
00196 <font class="keyword">class </font>SCVectorSimpleSubBlockIter: <font class="keyword">public</font> SCMatrixBlockIter {
00197   <font class="keyword">private</font>:
00198     SCVectorSimpleSubBlock* block;
00199     <font class="keywordtype">int</font> block_index;
00200     <font class="keywordtype">int</font> i_;
00201   <font class="keyword">public</font>:
00202     SCVectorSimpleSubBlockIter(SCVectorSimpleSubBlock*);
00203     <font class="keyword">virtual</font> ~SCVectorSimpleSubBlockIter();
00204     <font class="keywordtype">int</font> i();
00205     <font class="keywordtype">int</font> j();
00206     <font class="keywordtype">double</font> get();
00207     <font class="keywordtype">void</font> set(<font class="keywordtype">double</font>);
00208     operator int();
00209     <font class="keywordtype">void</font> operator++();
00210     <font class="keywordtype">void</font> reset();
00211 };
00212 
00213 }
00214 
00215 <font class="preprocessor">#endif</font>
00216 <font class="preprocessor"></font>
00217 <font class="comment">// Local Variables:</font>
00218 <font class="comment">// mode: c++</font>
00219 <font class="comment">// c-file-style: "CLJ"</font>
00220 <font class="comment">// End:</font>
</div></pre><hr>
<address>
<small>

Generated at Mon Oct 14 14:16:35 2002 for <a
href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a>
2.1.2 using the documentation package <a
href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a>
1.2.5.

</small>
</address>
</body>
</html>