|
ROL
|
Provides interface for and implements limited-memory secant operators. More...
#include <ROL_Secant.hpp>
Public Member Functions | |
| virtual | ~Secant () |
| Secant (int M=10, bool useDefaultScaling=true, Real Bscaling=Real(1), ESecantMode mode=SECANTMODE_BOTH) | |
| Ptr< SecantState< Real > > & | get_state () |
| const Ptr< SecantState< Real > > & | get_state () const |
| virtual void | updateStorage (const Vector< Real > &x, const Vector< Real > &grad, const Vector< Real > &gp, const Vector< Real > &s, const Real snorm, const int iter) |
| virtual void | applyH (Vector< Real > &Hv, const Vector< Real > &v) const =0 |
| virtual void | applyH0 (Vector< Real > &Hv, const Vector< Real > &v) const |
| virtual void | applyB (Vector< Real > &Bv, const Vector< Real > &v) const =0 |
| virtual void | applyB0 (Vector< Real > &Bv, const Vector< Real > &v) const |
| void | test (std::ostream &stream=std::cout) const |
| void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
| void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
| Public Member Functions inherited from ROL::ROL::LinearOperator< Real > | |
| virtual | ~LinearOperator () |
| virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
| Update linear operator. | |
| virtual void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const =0 |
| Apply linear operator. | |
| virtual void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
| Apply inverse of linear operator. | |
| virtual void | applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
| Apply adjoint of linear operator. | |
| virtual void | applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
| Apply adjoint of the inverse linear operator. | |
Protected Attributes | |
| const Ptr< SecantState< Real > > | state_ |
| Ptr< Vector< Real > > | y_ |
| bool | useDefaultScaling_ |
| Real | Bscaling_ |
Private Attributes | |
| bool | isInitialized_ |
Provides interface for and implements limited-memory secant operators.
Definition at line 45 of file ROL_Secant.hpp.
|
inlinevirtual |
Definition at line 59 of file ROL_Secant.hpp.
|
inline |
Definition at line 62 of file ROL_Secant.hpp.
References Bscaling_, isInitialized_, ROL::SECANTMODE_BOTH, state_, and useDefaultScaling_.
|
inline |
Definition at line 67 of file ROL_Secant.hpp.
References state_.
|
inline |
Definition at line 68 of file ROL_Secant.hpp.
References state_.
|
inlinevirtual |
Definition at line 71 of file ROL_Secant.hpp.
References ROL::Vector< Real >::apply(), ROL::Vector< Real >::clone(), isInitialized_, ROL::ROL_EPSILON(), state_, and y_.
|
pure virtual |
Referenced by ROL::TypeB::LSecantBAlgorithm< Real >::applyFreePrecond(), applyInverse(), and test().
|
inlinevirtual |
Definition at line 110 of file ROL_Secant.hpp.
References Bscaling_, ROL::Vector< Real >::dual(), ROL::Vector< Real >::scale(), ROL::Vector< Real >::set(), state_, and useDefaultScaling_.
Referenced by ROL::lBFGS< Real >::applyH().
|
pure virtual |
|
inlinevirtual |
Definition at line 127 of file ROL_Secant.hpp.
References Bscaling_, ROL::Vector< Real >::dual(), ROL::Vector< Real >::scale(), ROL::Vector< Real >::set(), state_, and useDefaultScaling_.
Referenced by ROL::lBFGS< Real >::applyB().
|
inline |
Definition at line 141 of file ROL_Secant.hpp.
References applyB(), applyH(), isInitialized_, and state_.
|
inline |
Definition at line 164 of file ROL_Secant.hpp.
References applyB().
|
inline |
Definition at line 168 of file ROL_Secant.hpp.
References applyH().
|
protected |
Definition at line 48 of file ROL_Secant.hpp.
Referenced by applyB0(), applyH0(), get_state(), get_state(), Secant(), test(), and updateStorage().
|
protected |
Definition at line 49 of file ROL_Secant.hpp.
Referenced by updateStorage().
|
protected |
Definition at line 50 of file ROL_Secant.hpp.
|
protected |
Definition at line 51 of file ROL_Secant.hpp.
|
private |
Definition at line 55 of file ROL_Secant.hpp.
Referenced by Secant(), test(), and updateStorage().