<!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::BFGSUpdate 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_1BFGSUpdate.html">BFGSUpdate</a> </div> </div> <div class="contents"> <h1>sc::BFGSUpdate Class Reference</h1><!-- doxytag: class="sc::BFGSUpdate" --><!-- doxytag: inherits="sc::DFPUpdate" -->The <a class="el" href="classsc_1_1DFPUpdate.html" title="The DFPUpdate class is used to specify a Davidson, Fletcher, and Powell hessian update...">DFPUpdate</a> class is used to specify a Broyden, Fletcher, Goldfarb, and Shanno hessian update scheme. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="update_8h_source.html">update.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for sc::BFGSUpdate:</div> <div class="dynsection"> <p><center><img src="classsc_1_1BFGSUpdate.png" usemap="#sc::BFGSUpdate_map" border="0" alt=""></center> <map name="sc::BFGSUpdate_map"> <area href="classsc_1_1DFPUpdate.html" alt="sc::DFPUpdate" shape="rect" coords="0,280,120,304"> <area href="classsc_1_1HessianUpdate.html" alt="sc::HessianUpdate" shape="rect" coords="0,224,120,248"> <area href="classsc_1_1SavableState.html" alt="sc::SavableState" shape="rect" coords="0,168,120,192"> <area href="classsc_1_1DescribedClass.html" alt="sc::DescribedClass" shape="rect" coords="0,112,120,136"> <area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="0,56,120,80"> <area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="0,0,120,24"> </map> </div> <p> <a href="classsc_1_1BFGSUpdate-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="555165dd85124de030de53ed9d214d9f"></a><!-- doxytag: member="sc::BFGSUpdate::BFGSUpdate" ref="555165dd85124de030de53ed9d214d9f" args="(StateIn &)" --> </td><td class="memItemRight" valign="bottom"><b>BFGSUpdate</b> (<a class="el" href="classsc_1_1StateIn.html">StateIn</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4d12c4da5d30a77ccf7858f20f2c5a69"></a><!-- doxytag: member="sc::BFGSUpdate::BFGSUpdate" ref="4d12c4da5d30a77ccf7858f20f2c5a69" args="(const Ref< KeyVal > &)" --> </td><td class="memItemRight" valign="bottom"><b>BFGSUpdate</b> (const <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1KeyVal.html">KeyVal</a> > &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1BFGSUpdate.html#077b8ef5605aa2036597f73fd37f09d1">save_data_state</a> (<a class="el" href="classsc_1_1StateOut.html">StateOut</a> &)</td></tr> <tr><td class="mdescLeft"> </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="#077b8ef5605aa2036597f73fd37f09d1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6cb9822c36292ed5181c344f228d1cc0"></a><!-- doxytag: member="sc::BFGSUpdate::update" ref="6cb9822c36292ed5181c344f228d1cc0" args="(const RefSymmSCMatrix &ihessian, const Ref< Function > &, const RefSCVector &xnew, const RefSCVector &gnew)" --> void </td><td class="memItemRight" valign="bottom"><b>update</b> (const <a class="el" href="classsc_1_1RefSymmSCMatrix.html">RefSymmSCMatrix</a> &ihessian, const <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1Function.html">Function</a> > &, const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &xnew, const <a class="el" href="classsc_1_1RefSCVector.html">RefSCVector</a> &gnew)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The <a class="el" href="classsc_1_1DFPUpdate.html" title="The DFPUpdate class is used to specify a Davidson, Fletcher, and Powell hessian update...">DFPUpdate</a> class is used to specify a Broyden, Fletcher, Goldfarb, and Shanno hessian update scheme. <p> This hessian update method is the recommended method for use with <a class="el" href="classsc_1_1QNewtonOpt.html" title="The QNewtonOpt implements a quasi-Newton optimization scheme.">QNewtonOpt</a> objects. <hr><h2>Member Function Documentation</h2> <a class="anchor" name="077b8ef5605aa2036597f73fd37f09d1"></a><!-- doxytag: member="sc::BFGSUpdate::save_data_state" ref="077b8ef5605aa2036597f73fd37f09d1" args="(StateOut &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void sc::BFGSUpdate::save_data_state </td> <td>(</td> <td class="paramtype"><a class="el" href="classsc_1_1StateOut.html">StateOut</a> & </td> <td class="paramname"> </td> <td> ) </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_1DFPUpdate.html#d5555925cc80534d35757a9cd15f8f2d">sc::DFPUpdate</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="update_8h_source.html">update.h</a></ul> </div> <hr> <address> <small> Generated at Wed Oct 14 14:12:15 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>