ROL
|
Provides definitions for limited-memory SR1 operators. More...
#include <ROL_lSR1.hpp>
Public Member Functions | |
isInitialized_ (false) | |
H0called_ (false) | |
B0called_ (false) | |
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 | applyH0 (Vector< Real > &Hv, const Vector< Real > &v) const |
void | applyH (Vector< Real > &Hv, const Vector< Real > &v) const |
virtual void | applyB0 (Vector< Real > &Bv, const Vector< Real > &v) const |
void | applyB (Vector< Real > &Bv, const Vector< Real > &v) const |
Public Member Functions inherited from ROL::Secant< Real > | |
virtual | ~Secant () |
useDefaultScaling_ (useDefaultScaling) | |
Bscaling_ (Bscaling) | |
isInitialized_ (false) | |
Ptr< SecantState< Real > > & | get_state () |
const Ptr< SecantState< Real > > & | get_state () const |
void | test (std::ostream &stream=std::cout) const |
void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply linear operator. More... | |
void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply inverse of linear operator. More... | |
Public Member Functions inherited from ROL::LinearOperator< Real > | |
virtual | ~LinearOperator () |
virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
Update linear operator. More... | |
virtual void | applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply adjoint of linear operator. More... | |
virtual void | applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply adjoint of the inverse linear operator. More... | |
Public Attributes | |
__pad0__: Secant<Real>(M | |
useDefaultScaling | |
Bscaling | |
mode | |
Public Attributes inherited from ROL::Secant< Real > | |
__pad0__: state_(makePtr<SecantState<Real>>(M | |
mode | |
Private Attributes | |
bool | isInitialized_ |
bool | H0called_ |
bool | B0called_ |
Ptr< Vector< Real > > | Bs_ |
Ptr< Vector< Real > > | Hy_ |
Ptr< Vector< Real > > | prim_ |
Ptr< Vector< Real > > | dual_ |
Additional Inherited Members | |
Protected Attributes inherited from ROL::Secant< Real > | |
const Ptr< SecantState< Real > > | state_ |
Ptr< Vector< Real > > | y_ |
bool | useDefaultScaling_ |
Real | Bscaling_ |
Provides definitions for limited-memory SR1 operators.
Definition at line 23 of file ROL_lSR1.hpp.
ROL::lSR1< Real >::isInitialized_ | ( | false | ) |
ROL::lSR1< Real >::H0called_ | ( | false | ) |
|
inline |
Definition at line 39 of file ROL_lSR1.hpp.
References ROL::Secant< Real >::Bscaling_, and ROL::Secant< Real >::useDefaultScaling_.
|
inlinevirtual |
Reimplemented from ROL::Secant< Real >.
Definition at line 45 of file ROL_lSR1.hpp.
References ROL::Vector< Real >::apply(), ROL::lSR1< Real >::applyB(), ROL::lSR1< Real >::applyH(), ROL::lSR1< Real >::Bs_, ROL::Secant< Real >::Bscaling_, ROL::Vector< Real >::clone(), ROL::lSR1< Real >::dual_, ROL::lSR1< Real >::Hy_, ROL::lSR1< Real >::isInitialized_, ROL::lSR1< Real >::prim_, ROL::SECANTMODE_BOTH, ROL::SECANTMODE_FORWARD, ROL::SECANTMODE_INVERSE, ROL::Secant< Real >::state_, ROL::Secant< Real >::useDefaultScaling_, and ROL::Secant< Real >::y_.
|
inlinevirtual |
Reimplemented from ROL::Secant< Real >.
Definition at line 161 of file ROL_lSR1.hpp.
References ROL::Secant< Real >::Bscaling_, ROL::Vector< Real >::dual(), ROL::lSR1< Real >::H0called_, ROL::lSR1< Real >::prim_, ROL::Vector< Real >::scale(), ROL::Vector< Real >::set(), and ROL::Secant< Real >::state_.
Referenced by ROL::lSR1< Real >::applyH().
|
inlinevirtual |
Implements ROL::Secant< Real >.
Definition at line 174 of file ROL_lSR1.hpp.
References ROL::lSR1< Real >::applyH0(), ROL::Vector< Real >::axpy(), ROL::Vector< Real >::dual(), ROL::lSR1< Real >::H0called_, ROL::lSR1< Real >::prim_, ROL::SECANTMODE_BOTH, ROL::SECANTMODE_INVERSE, and ROL::Secant< Real >::state_.
Referenced by ROL::lSR1< Real >::updateStorage().
|
inlinevirtual |
Reimplemented from ROL::Secant< Real >.
Definition at line 227 of file ROL_lSR1.hpp.
References ROL::lSR1< Real >::B0called_, ROL::Secant< Real >::Bscaling_, ROL::Vector< Real >::dual(), ROL::lSR1< Real >::dual_, ROL::Vector< Real >::scale(), ROL::Vector< Real >::set(), and ROL::Secant< Real >::state_.
Referenced by ROL::lSR1< Real >::applyB().
|
inlinevirtual |
Implements ROL::Secant< Real >.
Definition at line 240 of file ROL_lSR1.hpp.
References ROL::lSR1< Real >::applyB0(), ROL::Vector< Real >::axpy(), ROL::lSR1< Real >::B0called_, ROL::Vector< Real >::dual(), ROL::lSR1< Real >::dual_, ROL::SECANTMODE_BOTH, ROL::SECANTMODE_FORWARD, and ROL::Secant< Real >::state_.
Referenced by ROL::lSR1< Real >::updateStorage().
|
private |
Definition at line 27 of file ROL_lSR1.hpp.
Referenced by ROL::lSR1< Real >::updateStorage().
|
mutableprivate |
Definition at line 28 of file ROL_lSR1.hpp.
Referenced by ROL::lSR1< Real >::applyH(), and ROL::lSR1< Real >::applyH0().
|
mutableprivate |
Definition at line 28 of file ROL_lSR1.hpp.
Referenced by ROL::lSR1< Real >::applyB(), and ROL::lSR1< Real >::applyB0().
Definition at line 29 of file ROL_lSR1.hpp.
Referenced by ROL::lSR1< Real >::updateStorage().
Definition at line 29 of file ROL_lSR1.hpp.
Referenced by ROL::lSR1< Real >::updateStorage().
Definition at line 29 of file ROL_lSR1.hpp.
Referenced by ROL::lSR1< Real >::applyH(), ROL::lSR1< Real >::applyH0(), and ROL::lSR1< Real >::updateStorage().
Definition at line 29 of file ROL_lSR1.hpp.
Referenced by ROL::lSR1< Real >::applyB(), ROL::lSR1< Real >::applyB0(), and ROL::lSR1< Real >::updateStorage().
ROL::lSR1< Real >::__pad0__ |
Definition at line 38 of file ROL_lSR1.hpp.
ROL::lSR1< Real >::useDefaultScaling |
Definition at line 38 of file ROL_lSR1.hpp.
ROL::lSR1< Real >::Bscaling |
Definition at line 38 of file ROL_lSR1.hpp.
ROL::lSR1< Real >::mode |
Definition at line 38 of file ROL_lSR1.hpp.