Sophie

Sophie

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

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::RefSCVector 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: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>sc::RefSCVector  Class Reference</h1>The <a class="el" href="class_sc__RefSCVector.html">RefSCVector</a> class is a smart pointer to an <a class="el" href="class_sc__SCVector.html">SCVector</a> specialization. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="matrix_h-source.html">matrix.h</a>&gt;</code>
<p>
Inheritance diagram for sc::RefSCVector<p><center><img src="class_sc__RefSCVector_inherit_graph.gif" border="0" usemap="#sc::RefSCVector_inherit_map" alt="Inheritance graph"></center>
<map name="sc::RefSCVector_inherit_map">
<area href="class_sc__Ref.html" shape="rect" coords="14,80,139,99">
<area href="class_sc__RefBase.html" shape="rect" coords="38,13,115,32">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::RefSCVector:<p><center><img src="class_sc__RefSCVector_coll_graph.gif" border="0" usemap="#sc::RefSCVector_coll_map" alt="Collaboration graph"></center>
<map name="sc::RefSCVector_coll_map">
<area href="class_sc__Ref.html" shape="rect" coords="14,80,139,99">
<area href="class_sc__RefBase.html" shape="rect" coords="38,13,115,32">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__RefSCVector-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>&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a0">RefSCVector</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initializes the vector pointer to 0.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::RefSCVector::RefSCVector"></a>
&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a1">RefSCVector</a> (const RefSCVector &amp;v)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Make this and v refer to the same <a class="el" href="class_sc__SCVector.html">SCVector</a>.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::RefSCVector::RefSCVector"></a>
&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a2">RefSCVector</a> (<a class="el" href="class_sc__SCVector.html">SCVector</a> *v)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Make this refer to v.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::RefSCVector::~RefSCVector"></a>
&nbsp;</td><td valign=bottom><b>~RefSCVector</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::RefSCVector::operator="></a>
RefSCVector&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a4">operator=</a> (<a class="el" href="class_sc__SCVector.html">SCVector</a> *v)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Make this refer to v.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::RefSCVector::operator="></a>
RefSCVector&amp;&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a5">operator=</a> (const RefSCVector &amp;v)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Make this and v refer to the same <a class="el" href="class_sc__SCVector.html">SCVector</a>.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a6">RefSCVector</a> (const <a class="el" href="class_sc__RefSCDimension.html">RefSCDimension</a> &amp;dim, const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SCMatrixKit.html">SCMatrixKit</a> &gt; &amp;)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create a vector with dimension dim.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::RefSCVector::operator()"></a>
SCVectordouble&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a7">operator()</a> (int) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return an l-value that can be used to assign or retrieve an element.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a8" doxytag="sc::RefSCVector::operator[]"></a>
SCVectordouble&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a8">operator[]</a> (int) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return an l-value that can be used to assign or retrieve an element.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a9" doxytag="sc::RefSCVector::operator+"></a>
RefSCVector&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a9">operator+</a> (const RefSCVector &amp;a) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Add two vectors.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a10" doxytag="sc::RefSCVector::operator-"></a>
RefSCVector&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a10">operator-</a> (const RefSCVector &amp;a) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Subtract two vectors.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a11" doxytag="sc::RefSCVector::operator *"></a>
RefSCVector&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a11">operator *</a> (double) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Scale a vector.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a12" doxytag="sc::RefSCVector::outer_product"></a>
<a class="el" href="class_sc__RefSCMatrix.html">RefSCMatrix</a>&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a12">outer_product</a> (const RefSCVector &amp;v) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return the outer product between this and v.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a13" doxytag="sc::RefSCVector::symmetric_outer_product"></a>
<a class="el" href="class_sc__RefSymmSCMatrix.html">RefSymmSCMatrix</a>&nbsp;</td><td valign=bottom><a class="el" href="class_sc__RefSCVector.html#a13">symmetric_outer_product</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The outer product of this with itself is a symmetric matrix.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a14" doxytag="sc::RefSCVector::set_element"></a>
void&nbsp;</td><td valign=bottom><b>set_element</b> (int i, double val) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a15" doxytag="sc::RefSCVector::accumulate_element"></a>
void&nbsp;</td><td valign=bottom><b>accumulate_element</b> (int i, double val) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a16" doxytag="sc::RefSCVector::get_element"></a>
double&nbsp;</td><td valign=bottom><b>get_element</b> (int) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a17" doxytag="sc::RefSCVector::n"></a>
int&nbsp;</td><td valign=bottom><b>n</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a18" doxytag="sc::RefSCVector::dim"></a>
<a class="el" href="class_sc__RefSCDimension.html">RefSCDimension</a>&nbsp;</td><td valign=bottom><b>dim</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a19" doxytag="sc::RefSCVector::kit"></a>
<a class="el" href="class_sc__Ref.html">Ref</a>&lt;<a class="el" href="class_sc__SCMatrixKit.html">SCMatrixKit</a>&gt;&nbsp;</td><td valign=bottom><b>kit</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a20" doxytag="sc::RefSCVector::clone"></a>
RefSCVector&nbsp;</td><td valign=bottom><b>clone</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a21" doxytag="sc::RefSCVector::copy"></a>
RefSCVector&nbsp;</td><td valign=bottom><b>copy</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a22" doxytag="sc::RefSCVector::maxabs"></a>
double&nbsp;</td><td valign=bottom><b>maxabs</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a23" doxytag="sc::RefSCVector::scalar_product"></a>
double&nbsp;</td><td valign=bottom><b>scalar_product</b> (const RefSCVector &amp;) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a24" doxytag="sc::RefSCVector::dot"></a>
double&nbsp;</td><td valign=bottom><b>dot</b> (const RefSCVector &amp;) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a25" doxytag="sc::RefSCVector::normalize"></a>
void&nbsp;</td><td valign=bottom><b>normalize</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a26" doxytag="sc::RefSCVector::randomize"></a>
void&nbsp;</td><td valign=bottom><b>randomize</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a27" doxytag="sc::RefSCVector::assign"></a>
void&nbsp;</td><td valign=bottom><b>assign</b> (const RefSCVector &amp;v) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a28" doxytag="sc::RefSCVector::assign"></a>
void&nbsp;</td><td valign=bottom><b>assign</b> (double val) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a29" doxytag="sc::RefSCVector::assign"></a>
void&nbsp;</td><td valign=bottom><b>assign</b> (const double *v) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a30" doxytag="sc::RefSCVector::convert"></a>
void&nbsp;</td><td valign=bottom><b>convert</b> (double *) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a31" doxytag="sc::RefSCVector::scale"></a>
void&nbsp;</td><td valign=bottom><b>scale</b> (double val) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a32" doxytag="sc::RefSCVector::accumulate"></a>
void&nbsp;</td><td valign=bottom><b>accumulate</b> (const RefSCVector &amp;v) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a33" doxytag="sc::RefSCVector::accumulate_product"></a>
void&nbsp;</td><td valign=bottom><b>accumulate_product</b> (const <a class="el" href="class_sc__RefSymmSCMatrix.html">RefSymmSCMatrix</a> &amp;, const RefSCVector &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a34" doxytag="sc::RefSCVector::accumulate_product"></a>
void&nbsp;</td><td valign=bottom><b>accumulate_product</b> (const <a class="el" href="class_sc__RefSCMatrix.html">RefSCMatrix</a> &amp;, const RefSCVector &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a35" doxytag="sc::RefSCVector::element_op"></a>
void&nbsp;</td><td valign=bottom><b>element_op</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SCElementOp.html">SCElementOp</a> &gt; &amp;op) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a36" doxytag="sc::RefSCVector::element_op"></a>
void&nbsp;</td><td valign=bottom><b>element_op</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SCElementOp2.html">SCElementOp2</a> &gt; &amp;, const RefSCVector &amp;) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a37" doxytag="sc::RefSCVector::element_op"></a>
void&nbsp;</td><td valign=bottom><b>element_op</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SCElementOp3.html">SCElementOp3</a> &gt; &amp;, const RefSCVector &amp;, const RefSCVector &amp;) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a38" doxytag="sc::RefSCVector::print"></a>
void&nbsp;</td><td valign=bottom><b>print</b> (std::ostream &amp;out) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a39" doxytag="sc::RefSCVector::print"></a>
void&nbsp;</td><td valign=bottom><b>print</b> (const char *title=0, std::ostream &amp;out=ExEnv::out0(), int precision=10) const</td></tr>
<tr><td nowrap align=right valign=top><a name="a40" doxytag="sc::RefSCVector::save"></a>
void&nbsp;</td><td valign=bottom><b>save</b> (<a class="el" href="class_sc__StateOut.html">StateOut</a> &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a41" doxytag="sc::RefSCVector::restore"></a>
void&nbsp;</td><td valign=bottom><b>restore</b> (<a class="el" href="class_sc__StateIn.html">StateIn</a> &amp;)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="class_sc__RefSCVector.html">RefSCVector</a> class is a smart pointer to an <a class="el" href="class_sc__SCVector.html">SCVector</a> specialization.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="sc::RefSCVector::RefSCVector"></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> 
sc::RefSCVector::RefSCVector (
          </b></td>
          <td valign="bottom"><b>
)
          </b></td>
        </tr>

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

<p>
Initializes the vector pointer to 0.
<p>
The reference must be initialized before it is used.     </td>
  </tr>
</table>
<a name="a6" doxytag="sc::RefSCVector::RefSCVector"></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> 
sc::RefSCVector::RefSCVector (
          </b></td>
          <td valign="bottom"><b>
const <a class="el" href="class_sc__RefSCDimension.html">RefSCDimension</a> &amp; <em>dim</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SCMatrixKit.html">SCMatrixKit</a> &gt; &amp;&nbsp;)
          </b></td>
        </tr>

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

<p>
Create a vector with dimension dim.
<p>
The data values are undefined.     </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="matrix_h-source.html">matrix.h</a></ul>
<hr>
<address>
<small>

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