<!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::RefSCVector 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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> </div> </div> <div class="contents"> <h1>sc::RefSCVector Class Reference</h1><!-- doxytag: class="sc::RefSCVector" --><!-- doxytag: inherits="Ref< SCVector >" -->The <a class="el" href="classsc_1_1RefSCVector.html" title="The RefSCVector class is a smart pointer to an SCVector specialization.">RefSCVector</a> class is a smart pointer to an <a class="el" href="classsc_1_1SCVector.html" title="The SCVector class is the abstract base class for double valued vectors.">SCVector</a> specialization. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="matrix_8h_source.html">matrix.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for sc::RefSCVector:</div> <div class="dynsection"> <p><center><img src="classsc_1_1RefSCVector.png" usemap="#sc::RefSCVector_map" border="0" alt=""></center> <map name="sc::RefSCVector_map"> <area href="classsc_1_1Ref.html" alt="sc::Ref< SCVector >" shape="rect" coords="0,56,129,80"> <area href="classsc_1_1RefBase.html" alt="sc::RefBase" shape="rect" coords="0,0,129,24"> </map> </div> <p> <a href="classsc_1_1RefSCVector-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#f5ce8afaffec9e11fc323abacdc2a7c2">RefSCVector</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes the vector pointer to 0. <a href="#f5ce8afaffec9e11fc323abacdc2a7c2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="085bffb17023e6be914d8ea40f584bed"></a><!-- doxytag: member="sc::RefSCVector::RefSCVector" ref="085bffb17023e6be914d8ea40f584bed" args="(const RefSCVector &v)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#085bffb17023e6be914d8ea40f584bed">RefSCVector</a> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &v)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Make this and v refer to the same <a class="el" href="classsc_1_1SCVector.html" title="The SCVector class is the abstract base class for double valued vectors.">SCVector</a>. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78851b777807f87d4a709a0bfe47cffa"></a><!-- doxytag: member="sc::RefSCVector::RefSCVector" ref="78851b777807f87d4a709a0bfe47cffa" args="(SCVector *v)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#78851b777807f87d4a709a0bfe47cffa">RefSCVector</a> (<a class="el" href="classsc_1_1SCVector.html">SCVector</a> *v)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Make this refer to v. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74e1ec95c0c380a3db8c31930e2c1b32"></a><!-- doxytag: member="sc::RefSCVector::operator=" ref="74e1ec95c0c380a3db8c31930e2c1b32" args="(SCVector *v)" --> <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#74e1ec95c0c380a3db8c31930e2c1b32">operator=</a> (<a class="el" href="classsc_1_1SCVector.html">SCVector</a> *v)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Make this refer to v. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3862485f0b06033e4c20289702e432a6"></a><!-- doxytag: member="sc::RefSCVector::operator=" ref="3862485f0b06033e4c20289702e432a6" args="(const RefSCVector &v)" --> <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#3862485f0b06033e4c20289702e432a6">operator=</a> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &v)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Make this and v refer to the same <a class="el" href="classsc_1_1SCVector.html" title="The SCVector class is the abstract base class for double valued vectors.">SCVector</a>. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#022cddb8775dc68cac14c454207692c8">RefSCVector</a> (const <a class="el" href="classsc_1_1RefSCDimension.html">RefSCDimension</a> &dim, const <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1SCMatrixKit.html">SCMatrixKit</a> > &)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a vector with dimension dim. <a href="#022cddb8775dc68cac14c454207692c8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16cd57a63deb8f6fed988195f9c90b52"></a><!-- doxytag: member="sc::RefSCVector::operator()" ref="16cd57a63deb8f6fed988195f9c90b52" args="(int) const " --> SCVectordouble </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#16cd57a63deb8f6fed988195f9c90b52">operator()</a> (int) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return an l-value that can be used to assign or retrieve an element. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6e7e079f358c0049733cec90db25bdd"></a><!-- doxytag: member="sc::RefSCVector::operator[]" ref="a6e7e079f358c0049733cec90db25bdd" args="(int) const " --> SCVectordouble </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#a6e7e079f358c0049733cec90db25bdd">operator[]</a> (int) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return an l-value that can be used to assign or retrieve an element. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b00e4eac985cb50556bb7c8b042491f"></a><!-- doxytag: member="sc::RefSCVector::operator+" ref="7b00e4eac985cb50556bb7c8b042491f" args="(const RefSCVector &a) const " --> <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#7b00e4eac985cb50556bb7c8b042491f">operator+</a> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &a) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Add two vectors. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ea49385d3f68b8b70f683a1b6bf6ace"></a><!-- doxytag: member="sc::RefSCVector::operator-" ref="0ea49385d3f68b8b70f683a1b6bf6ace" args="(const RefSCVector &a) const " --> <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#0ea49385d3f68b8b70f683a1b6bf6ace">operator-</a> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &a) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Subtract two vectors. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cec0f0eae7a5b6d92ced6814c0aca985"></a><!-- doxytag: member="sc::RefSCVector::operator*" ref="cec0f0eae7a5b6d92ced6814c0aca985" args="(double) const " --> <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#cec0f0eae7a5b6d92ced6814c0aca985">operator*</a> (double) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Scale a vector. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e385db3c101ede5582162be2a5d63ffd"></a><!-- doxytag: member="sc::RefSCVector::outer_product" ref="e385db3c101ede5582162be2a5d63ffd" args="(const RefSCVector &v) const " --> <a class="el" href="classsc_1_1RefSCMatrix.html">RefSCMatrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#e385db3c101ede5582162be2a5d63ffd">outer_product</a> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &v) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the outer product between this and v. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cee86eb46d24abae46afe293a5f266da"></a><!-- doxytag: member="sc::RefSCVector::symmetric_outer_product" ref="cee86eb46d24abae46afe293a5f266da" args="() const " --> <a class="el" href="classsc_1_1RefSymmSCMatrix.html">RefSymmSCMatrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#cee86eb46d24abae46afe293a5f266da">symmetric_outer_product</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The outer product of this with itself is a symmetric matrix. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5fde9ddfb530d0dee6f4d8ee321bfb0"></a><!-- doxytag: member="sc::RefSCVector::set_element" ref="a5fde9ddfb530d0dee6f4d8ee321bfb0" args="(int i, double val) const " --> void </td><td class="memItemRight" valign="bottom"><b>set_element</b> (int i, double val) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fa5bc4887c8c815ded8f4314e7822f3e"></a><!-- doxytag: member="sc::RefSCVector::accumulate_element" ref="fa5bc4887c8c815ded8f4314e7822f3e" args="(int i, double val) const " --> void </td><td class="memItemRight" valign="bottom"><b>accumulate_element</b> (int i, double val) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4887d9dfb1174ce34b64fac24fc3a63a"></a><!-- doxytag: member="sc::RefSCVector::get_element" ref="4887d9dfb1174ce34b64fac24fc3a63a" args="(int) const " --> double </td><td class="memItemRight" valign="bottom"><b>get_element</b> (int) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31dcb4f75e2b1e910fff9e0dfc24592d"></a><!-- doxytag: member="sc::RefSCVector::n" ref="31dcb4f75e2b1e910fff9e0dfc24592d" args="() const " --> int </td><td class="memItemRight" valign="bottom"><b>n</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f49c4d2d365b4aad22513de5765048b8"></a><!-- doxytag: member="sc::RefSCVector::dim" ref="f49c4d2d365b4aad22513de5765048b8" args="() const " --> <a class="el" href="classsc_1_1RefSCDimension.html">RefSCDimension</a> </td><td class="memItemRight" valign="bottom"><b>dim</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="307c9470570440791cca899250e7d717"></a><!-- doxytag: member="sc::RefSCVector::kit" ref="307c9470570440791cca899250e7d717" args="() const " --> <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1SCMatrixKit.html">SCMatrixKit</a> > </td><td class="memItemRight" valign="bottom"><b>kit</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="afe0bd119807e5f7e4181d843b1205ee"></a><!-- doxytag: member="sc::RefSCVector::clone" ref="afe0bd119807e5f7e4181d843b1205ee" args="() const " --> <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> </td><td class="memItemRight" valign="bottom"><b>clone</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="326f7227a86050a6b306617d289caa38"></a><!-- doxytag: member="sc::RefSCVector::copy" ref="326f7227a86050a6b306617d289caa38" args="() const " --> <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> </td><td class="memItemRight" valign="bottom"><b>copy</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="48387877f30f39697a8e4be00475de0c"></a><!-- doxytag: member="sc::RefSCVector::maxabs" ref="48387877f30f39697a8e4be00475de0c" args="() const " --> double </td><td class="memItemRight" valign="bottom"><b>maxabs</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f4e2e36c91f0c308cd7334389e00db13"></a><!-- doxytag: member="sc::RefSCVector::scalar_product" ref="f4e2e36c91f0c308cd7334389e00db13" args="(const RefSCVector &) const " --> double </td><td class="memItemRight" valign="bottom"><b>scalar_product</b> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d0ec14a33f6c461b7aa6b565555aee1"></a><!-- doxytag: member="sc::RefSCVector::dot" ref="3d0ec14a33f6c461b7aa6b565555aee1" args="(const RefSCVector &) const " --> double </td><td class="memItemRight" valign="bottom"><b>dot</b> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d6196d3b91ee8adec4bec2419e186183"></a><!-- doxytag: member="sc::RefSCVector::normalize" ref="d6196d3b91ee8adec4bec2419e186183" args="() const " --> void </td><td class="memItemRight" valign="bottom"><b>normalize</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9aa24797247a096548fcd76e9d518472"></a><!-- doxytag: member="sc::RefSCVector::randomize" ref="9aa24797247a096548fcd76e9d518472" args="() const " --> void </td><td class="memItemRight" valign="bottom"><b>randomize</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ba5c449eb0c9a5477ff7749d91293a9"></a><!-- doxytag: member="sc::RefSCVector::assign" ref="0ba5c449eb0c9a5477ff7749d91293a9" args="(const RefSCVector &v) const " --> void </td><td class="memItemRight" valign="bottom"><b>assign</b> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &v) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="efe46ff79eb2b30f12a45dcd9ecc4ba2"></a><!-- doxytag: member="sc::RefSCVector::assign" ref="efe46ff79eb2b30f12a45dcd9ecc4ba2" args="(double val) const " --> void </td><td class="memItemRight" valign="bottom"><b>assign</b> (double val) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b1b9ae759fd02427a4175897a9e26000"></a><!-- doxytag: member="sc::RefSCVector::assign" ref="b1b9ae759fd02427a4175897a9e26000" args="(const double *v) const " --> void </td><td class="memItemRight" valign="bottom"><b>assign</b> (const double *v) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5742502162d9f890b018f0de21216d9b"></a><!-- doxytag: member="sc::RefSCVector::convert" ref="5742502162d9f890b018f0de21216d9b" args="(double *) const " --> void </td><td class="memItemRight" valign="bottom"><b>convert</b> (double *) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca83806bc92981ec78551027714ae22b"></a><!-- doxytag: member="sc::RefSCVector::scale" ref="ca83806bc92981ec78551027714ae22b" args="(double val) const " --> void </td><td class="memItemRight" valign="bottom"><b>scale</b> (double val) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8aab31b82f2e4e0eb79aa43a28365749"></a><!-- doxytag: member="sc::RefSCVector::accumulate" ref="8aab31b82f2e4e0eb79aa43a28365749" args="(const RefSCVector &v) const " --> void </td><td class="memItemRight" valign="bottom"><b>accumulate</b> (const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &v) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0df1c333016de101b43ec0c53516dc3e"></a><!-- doxytag: member="sc::RefSCVector::accumulate_product" ref="0df1c333016de101b43ec0c53516dc3e" args="(const RefSymmSCMatrix &, const RefSCVector &)" --> void </td><td class="memItemRight" valign="bottom"><b>accumulate_product</b> (const <a class="el" href="classsc_1_1RefSymmSCMatrix.html">RefSymmSCMatrix</a> &, const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="33d2459329fc77fffd98ec3c319c7e29"></a><!-- doxytag: member="sc::RefSCVector::accumulate_product" ref="33d2459329fc77fffd98ec3c319c7e29" args="(const RefSCMatrix &, const RefSCVector &)" --> void </td><td class="memItemRight" valign="bottom"><b>accumulate_product</b> (const <a class="el" href="classsc_1_1RefSCMatrix.html">RefSCMatrix</a> &, const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="07c80c38365b491895c1fe5465e1333e"></a><!-- doxytag: member="sc::RefSCVector::element_op" ref="07c80c38365b491895c1fe5465e1333e" args="(const Ref< SCElementOp > &op) const " --> void </td><td class="memItemRight" valign="bottom"><b>element_op</b> (const <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1SCElementOp.html">SCElementOp</a> > &op) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="76c6b0e925a7af0638e7465e0f7ce7d5"></a><!-- doxytag: member="sc::RefSCVector::element_op" ref="76c6b0e925a7af0638e7465e0f7ce7d5" args="(const Ref< SCElementOp2 > &, const RefSCVector &) const " --> void </td><td class="memItemRight" valign="bottom"><b>element_op</b> (const <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1SCElementOp2.html">SCElementOp2</a> > &, const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6877ab8a123b11880539fc1295d178f3"></a><!-- doxytag: member="sc::RefSCVector::element_op" ref="6877ab8a123b11880539fc1295d178f3" args="(const Ref< SCElementOp3 > &, const RefSCVector &, const RefSCVector &) const " --> void </td><td class="memItemRight" valign="bottom"><b>element_op</b> (const <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1SCElementOp3.html">SCElementOp3</a> > &, const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &, const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62a51e04bc11af2c2e17785b419e9f79"></a><!-- doxytag: member="sc::RefSCVector::print" ref="62a51e04bc11af2c2e17785b419e9f79" args="(std::ostream &out) const " --> void </td><td class="memItemRight" valign="bottom"><b>print</b> (std::ostream &out) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ca32c67e0153a361eb1bc363c164eda3"></a><!-- doxytag: member="sc::RefSCVector::print" ref="ca32c67e0153a361eb1bc363c164eda3" args="(const char *title=0, std::ostream &out=ExEnv::out0(), int precision=10) const " --> void </td><td class="memItemRight" valign="bottom"><b>print</b> (const char *title=0, std::ostream &out=ExEnv::out0(), int precision=10) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2f307f03b07d261031199e54c712a55f"></a><!-- doxytag: member="sc::RefSCVector::save" ref="2f307f03b07d261031199e54c712a55f" args="(StateOut &)" --> void </td><td class="memItemRight" valign="bottom"><b>save</b> (<a class="el" href="classsc_1_1StateOut.html">StateOut</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b092915c964352b4b19b85f078b675c3"></a><!-- doxytag: member="sc::RefSCVector::restore" ref="b092915c964352b4b19b85f078b675c3" args="(StateIn &)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1RefSCVector.html#b092915c964352b4b19b85f078b675c3">restore</a> (<a class="el" href="classsc_1_1StateIn.html">StateIn</a> &)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Restores the matrix from <a class="el" href="classsc_1_1StateIn.html" title="Restores objects that derive from SavableState.">StateIn</a> object. The vector must have been initialized already. <br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The <a class="el" href="classsc_1_1RefSCVector.html" title="The RefSCVector class is a smart pointer to an SCVector specialization.">RefSCVector</a> class is a smart pointer to an <a class="el" href="classsc_1_1SCVector.html" title="The SCVector class is the abstract base class for double valued vectors.">SCVector</a> specialization. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f5ce8afaffec9e11fc323abacdc2a7c2"></a><!-- doxytag: member="sc::RefSCVector::RefSCVector" ref="f5ce8afaffec9e11fc323abacdc2a7c2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">sc::RefSCVector::RefSCVector </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Initializes the vector pointer to 0. <p> The reference must be initialized before it is used. </div> </div><p> <a class="anchor" name="022cddb8775dc68cac14c454207692c8"></a><!-- doxytag: member="sc::RefSCVector::RefSCVector" ref="022cddb8775dc68cac14c454207692c8" args="(const RefSCDimension &dim, const Ref< SCMatrixKit > &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">sc::RefSCVector::RefSCVector </td> <td>(</td> <td class="paramtype">const <a class="el" href="classsc_1_1RefSCDimension.html">RefSCDimension</a> & </td> <td class="paramname"> <em>dim</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1SCMatrixKit.html">SCMatrixKit</a> > & </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Create a vector with dimension dim. <p> The data values are undefined. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="matrix_8h_source.html">matrix.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>