Sophie

Sophie

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

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>sc::SCMatrixRectSubBlock class Reference</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:17:45 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>sc::SCMatrixRectSubBlock  Class Reference</h1>The <a class="el" href="class_sc__SCMatrixRectSubBlock.html">SCMatrixRectSubBlock</a> describes a rectangular piece of a matrix. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="block_h-source.html">block.h</a>&gt;</code>
<p>
Inheritance diagram for sc::SCMatrixRectSubBlock<p><center><img src="class_sc__SCMatrixRectSubBlock_inherit_graph.gif" border="0" usemap="#sc::SCMatrixRectSubBlock_inherit_map" alt="Inheritance graph"></center>
<map name="sc::SCMatrixRectSubBlock_inherit_map">
<area href="class_sc__SCMatrixBlock.html" shape="rect" coords="37,280,151,299">
<area href="class_sc__SavableState.html" shape="rect" coords="43,213,145,232">
<area href="class_sc__DescribedClass.html" shape="rect" coords="37,147,151,165">
<area href="class_sc__RefCount.html" shape="rect" coords="53,80,135,99">
<area href="class_sc__Identity.html" shape="rect" coords="58,13,130,32">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::SCMatrixRectSubBlock:<p><center><img src="class_sc__SCMatrixRectSubBlock_coll_graph.gif" border="0" usemap="#sc::SCMatrixRectSubBlock_coll_map" alt="Collaboration graph"></center>
<map name="sc::SCMatrixRectSubBlock_coll_map">
<area href="class_sc__SCMatrixBlock.html" shape="rect" coords="37,280,151,299">
<area href="class_sc__SavableState.html" shape="rect" coords="43,213,145,232">
<area href="class_sc__DescribedClass.html" shape="rect" coords="37,147,151,165">
<area href="class_sc__RefCount.html" shape="rect" coords="53,80,135,99">
<area href="class_sc__Identity.html" shape="rect" coords="58,13,130,32">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__SCMatrixRectSubBlock-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="a0" doxytag="sc::SCMatrixRectSubBlock::SCMatrixRectSubBlock"></a>
&nbsp;</td><td valign=bottom><b>SCMatrixRectSubBlock</b> (int is, int ie, int istride, int js, int je, double *data)</td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::SCMatrixRectSubBlock::SCMatrixRectSubBlock"></a>
&nbsp;</td><td valign=bottom><b>SCMatrixRectSubBlock</b> (<a class="el" href="class_sc__StateIn.html">StateIn</a> &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::SCMatrixRectSubBlock::~SCMatrixRectSubBlock"></a>
virtual&nbsp;</td><td valign=bottom><b>~SCMatrixRectSubBlock</b> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCMatrixRectSubBlock.html#a3">save_data_state</a> (<a class="el" href="class_sc__StateOut.html">StateOut</a> &amp;)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Save the base classes (with save_data_state) and the members in the same order that the <a class="el" href="class_sc__StateIn.html">StateIn</a> CTOR initializes them.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::SCMatrixRectSubBlock::process"></a>
void&nbsp;</td><td valign=bottom><b>process</b> (<a class="el" href="class_sc__SCElementOp.html">SCElementOp</a> *)</td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::SCMatrixRectSubBlock::process"></a>
void&nbsp;</td><td valign=bottom><b>process</b> (<a class="el" href="class_sc__SCElementOp2.html">SCElementOp2</a> *, <a class="el" href="class_sc__SCMatrixBlock.html">SCMatrixBlock</a> *)</td></tr>
<tr><td nowrap align=right valign=top><a name="a6" doxytag="sc::SCMatrixRectSubBlock::process"></a>
void&nbsp;</td><td valign=bottom><b>process</b> (<a class="el" href="class_sc__SCElementOp3.html">SCElementOp3</a> *, <a class="el" href="class_sc__SCMatrixBlock.html">SCMatrixBlock</a> *, <a class="el" href="class_sc__SCMatrixBlock.html">SCMatrixBlock</a> *)</td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="m0" doxytag="sc::SCMatrixRectSubBlock::istart"></a>
int&nbsp;</td><td valign=bottom><b>istart</b></td></tr>
<tr><td nowrap align=right valign=top><a name="m1" doxytag="sc::SCMatrixRectSubBlock::jstart"></a>
int&nbsp;</td><td valign=bottom><b>jstart</b></td></tr>
<tr><td nowrap align=right valign=top><a name="m2" doxytag="sc::SCMatrixRectSubBlock::iend"></a>
int&nbsp;</td><td valign=bottom><b>iend</b></td></tr>
<tr><td nowrap align=right valign=top><a name="m3" doxytag="sc::SCMatrixRectSubBlock::jend"></a>
int&nbsp;</td><td valign=bottom><b>jend</b></td></tr>
<tr><td nowrap align=right valign=top><a name="m4" doxytag="sc::SCMatrixRectSubBlock::istride"></a>
int&nbsp;</td><td valign=bottom><b>istride</b></td></tr>
<tr><td nowrap align=right valign=top><a name="m5" doxytag="sc::SCMatrixRectSubBlock::data"></a>
double*&nbsp;</td><td valign=bottom><b>data</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="class_sc__SCMatrixRectSubBlock.html">SCMatrixRectSubBlock</a> describes a rectangular piece of a matrix.
<p>
The following bit of code illustrates the data layout: fill(double **matrix, SCMatrixRectSubBlock &amp;b) { int offset=b.istart * b.istride + b.jstart; for (int i=b.istart; i&lt;b.iend; i++) { for (int j=b.jstart; j&lt;b.jend; j++,offset++) { matrix[i][j] = b.data[offset]; } offset += b.istride - (b.jend - b.jstart); } } 
<p>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="sc::SCMatrixRectSubBlock::save_data_state"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void sc::SCMatrixRectSubBlock::save_data_state (
          </b></td>
          <td valign="bottom"><b>
<a class="el" href="class_sc__StateOut.html">StateOut</a> &amp; <em>s</em>&nbsp;)<code> [virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Save the base classes (with save_data_state) and the members in the same order that the <a class="el" href="class_sc__StateIn.html">StateIn</a> CTOR initializes them.
<p>
This must be implemented by the derived class if the class has data. 
<p>
Reimplemented from <a class="el" href="class_sc__SCMatrixBlock.html#a3">sc::SCMatrixBlock</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="block_h-source.html">block.h</a></ul>
<hr>
<address>
<small>

Generated at Mon Oct 14 14:17:45 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>