Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 247b28499c443e092731ffba814075f2 > files > 738

mpqc-html-2.3.1-9mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPQC: sc::SCVectorSimpleBlock Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1SCVectorSimpleBlock.html">SCVectorSimpleBlock</a>
  </div>
</div>
<div class="contents">
<h1>sc::SCVectorSimpleBlock Class Reference</h1><!-- doxytag: class="sc::SCVectorSimpleBlock" --><!-- doxytag: inherits="sc::SCMatrixBlock" -->The <a class="el" href="classsc_1_1SCVectorSimpleBlock.html" title="The SCVectorSimpleBlock describes a piece of a vector.">SCVectorSimpleBlock</a> describes a piece of a vector.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="block_8h_source.html">block.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for sc::SCVectorSimpleBlock:</div>
<div class="dynsection">

<p><center><img src="classsc_1_1SCVectorSimpleBlock.png" usemap="#sc::SCVectorSimpleBlock_map" border="0" alt=""></center>
<map name="sc::SCVectorSimpleBlock_map">
<area href="classsc_1_1SCMatrixBlock.html" alt="sc::SCMatrixBlock" shape="rect" coords="0,224,154,248">
<area href="classsc_1_1SavableState.html" alt="sc::SavableState" shape="rect" coords="0,168,154,192">
<area href="classsc_1_1DescribedClass.html" alt="sc::DescribedClass" shape="rect" coords="0,112,154,136">
<area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="0,56,154,80">
<area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="0,0,154,24">
</map>
</div>

<p>
<a href="classsc_1_1SCVectorSimpleBlock-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9fa69c5ab35041b068ce6da07e002925"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::SCVectorSimpleBlock" ref="9fa69c5ab35041b068ce6da07e002925" args="(int istart, int iend)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>SCVectorSimpleBlock</b> (int istart, int iend)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6ffb2898a857864e2ac1a314f12e25a"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::SCVectorSimpleBlock" ref="e6ffb2898a857864e2ac1a314f12e25a" args="(StateIn &amp;)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>SCVectorSimpleBlock</b> (<a class="el" href="classsc_1_1StateIn.html">StateIn</a> &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1SCVectorSimpleBlock.html#24c3b2a00a108b7324676ae42e56b26d">save_data_state</a> (<a class="el" href="classsc_1_1StateOut.html">StateOut</a> &amp;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Save the base classes (with save_data_state) and the members in the same order that the <a class="el" href="classsc_1_1StateIn.html" title="Restores objects that derive from SavableState.">StateIn</a> CTOR initializes them.  <a href="#24c3b2a00a108b7324676ae42e56b26d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classsc_1_1SCMatrixBlock.html">SCMatrixBlock</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1SCVectorSimpleBlock.html#104284da4b72ff2a48e99f96013b2341">deepcopy</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return of copy of this.  <a href="#104284da4b72ff2a48e99f96013b2341"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6ed1f746be1aa536c9684064d9a0f489"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::process" ref="6ed1f746be1aa536c9684064d9a0f489" args="(SCElementOp *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>process</b> (<a class="el" href="classsc_1_1SCElementOp.html">SCElementOp</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9aa4ee04b76517d6c881f3c1a49bf73f"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::process" ref="9aa4ee04b76517d6c881f3c1a49bf73f" args="(SCElementOp2 *, SCMatrixBlock *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>process</b> (<a class="el" href="classsc_1_1SCElementOp2.html">SCElementOp2</a> *, <a class="el" href="classsc_1_1SCMatrixBlock.html">SCMatrixBlock</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba07e9cac4d29333dcbe30d6842db841"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::process" ref="ba07e9cac4d29333dcbe30d6842db841" args="(SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>process</b> (<a class="el" href="classsc_1_1SCElementOp3.html">SCElementOp3</a> *, <a class="el" href="classsc_1_1SCMatrixBlock.html">SCMatrixBlock</a> *, <a class="el" href="classsc_1_1SCMatrixBlock.html">SCMatrixBlock</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">double *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1SCVectorSimpleBlock.html#22904ee3a590becaac1377ce8210723e">dat</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a pointer to the block's data and the number of elements in the block.  <a href="#22904ee3a590becaac1377ce8210723e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="12917d0ad74b2c5167efcdf641bb9ace"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::ndat" ref="12917d0ad74b2c5167efcdf641bb9ace" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>ndat</b> () const </td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c0bf3a5dd73bc4e61e8c1b0118ee44d9"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::istart" ref="c0bf3a5dd73bc4e61e8c1b0118ee44d9" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>istart</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6c32d91de43277c75ca2bcac8eaa4d57"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::iend" ref="6c32d91de43277c75ca2bcac8eaa4d57" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>iend</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e31557efec43d7d5f168796ef38c88cd"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::data" ref="e31557efec43d7d5f168796ef38c88cd" args="" -->
double *&nbsp;</td><td class="memItemRight" valign="bottom"><b>data</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classsc_1_1SCVectorSimpleBlock.html" title="The SCVectorSimpleBlock describes a piece of a vector.">SCVectorSimpleBlock</a> describes a piece of a vector. 
<p>
The following bit of code illustrates the data layout: fill(double *vector, SCVectorSimpleBlock &amp;b) { int i,offset=0; for (i=b.istart; i&lt;b.iend; i++,offset++) { vector[i] = b.data[offset]; } } <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="22904ee3a590becaac1377ce8210723e"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::dat" ref="22904ee3a590becaac1377ce8210723e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double* sc::SCVectorSimpleBlock::dat           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a pointer to the block's data and the number of elements in the block. 
<p>
Some blocks cannot provide this information and a runtime error will be generated if these members are called. These routines are only used internally in the matrix library. 
<p>Reimplemented from <a class="el" href="classsc_1_1SCMatrixBlock.html#c6601cf7d328c55a7302084dd07bcb79">sc::SCMatrixBlock</a>.</p>

</div>
</div><p>
<a class="anchor" name="104284da4b72ff2a48e99f96013b2341"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::deepcopy" ref="104284da4b72ff2a48e99f96013b2341" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsc_1_1SCMatrixBlock.html">SCMatrixBlock</a>* sc::SCVectorSimpleBlock::deepcopy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return of copy of this. 
<p>
A runtime error will be generated for blocks that cannot do a deepcopy. These routines are only used internally in the matrix library. 
<p>Reimplemented from <a class="el" href="classsc_1_1SCMatrixBlock.html#2aec95478d8f748d21682f1a234897a0">sc::SCMatrixBlock</a>.</p>

</div>
</div><p>
<a class="anchor" name="24c3b2a00a108b7324676ae42e56b26d"></a><!-- doxytag: member="sc::SCVectorSimpleBlock::save_data_state" ref="24c3b2a00a108b7324676ae42e56b26d" args="(StateOut &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sc::SCVectorSimpleBlock::save_data_state           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsc_1_1StateOut.html">StateOut</a> &amp;&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Save the base classes (with save_data_state) and the members in the same order that the <a class="el" href="classsc_1_1StateIn.html" title="Restores objects that derive from SavableState.">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="classsc_1_1SCMatrixBlock.html#ffdd5a3bf3b700083a02c2c4a95395ac">sc::SCMatrixBlock</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="block_8h_source.html">block.h</a></ul>
</div>
<hr>
<address>
<small>

Generated at Wed Oct 14 14:12:16 2009 for <a
href="http://www.mpqc.org">MPQC</a>
2.3.1 using the documentation package <a
href="http://www.doxygen.org">Doxygen</a>
1.5.9.

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