|
NOX
Development
|
Utility class for NOX::Direction::Broyden::BroydenMemory. More...
#include <NOX_Direction_Broyden.H>
Public Member Functions | |
| BroydenMemoryUnit () | |
| Constructor. | |
| ~BroydenMemoryUnit () | |
| Destuctor. | |
| void | reset (const NOX::Abstract::Vector &d) |
| Reset this memory unit with a new update vector. | |
| void | setStep (double step) |
| Update the step length. | |
|
Teuchos::RCP< const NOX::Abstract::Vector > | sPtr () const |
Get pointer to . | |
| double | step () const |
Get the step, . | |
| double | sNormSqr () const |
Get . | |
Utility class for NOX::Direction::Broyden::BroydenMemory.
Stores an
-vector and associated information for the limited-memory Broyden update.
Throughout the docuementation of this class, we make the following associations.


Constructor.
Sets #sptr to NULL, and #lambda and #snormsqr to zero.
Destuctor.
Deletes #sptr.
| void NOX::Direction::Broyden::BroydenMemoryUnit::reset | ( | const NOX::Abstract::Vector & | d | ) |
Reset this memory unit with a new update vector.
Let the vector
represent the input argument. Then we set
. Also recalculates
and sets
.
References NOX::Abstract::Vector::clone(), NOX::DeepCopy, is_null(), and NOX::Abstract::Vector::norm().
| void NOX::Direction::Broyden::BroydenMemoryUnit::setStep | ( | double | step | ) |
Update the step length.
Set
to the input argument. If
, then reset
and
.
1.7.6.1