ROL
|
#include <ROL_ProjectedHessian.hpp>
Public Member Functions | |
ProjectedHessian (const Teuchos::RCP< Objective< Real > > &obj, const Teuchos::RCP< BoundConstraint< Real > > &con, const Teuchos::RCP< Vector< Real > > &x, const Teuchos::RCP< Vector< Real > > &g) | |
ProjectedHessian (const Teuchos::RCP< Secant< Real > > &secant, const Teuchos::RCP< Objective< Real > > &obj, const Teuchos::RCP< BoundConstraint< Real > > &con, const Teuchos::RCP< Vector< Real > > &x, const Teuchos::RCP< Vector< Real > > &g, bool useSecant=true) | |
void | setData (Real eps=0.0) |
void | apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply Hessian. More... | |
void | applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const |
Apply inverse Hessian. More... | |
![]() | |
virtual | ~LinearOperator () |
virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
Update linear operator. More... | |
Private Attributes | |
const Teuchos::RCP< Objective< Real > > | obj_ |
const Teuchos::RCP< BoundConstraint< Real > > | con_ |
const Teuchos::RCP< Vector< Real > > | x_ |
const Teuchos::RCP< Vector< Real > > | g_ |
Teuchos::RCP< Vector< Real > > | v_ |
const Teuchos::RCP< Secant< Real > > | secant_ |
bool | useSecant_ |
Real | eps_ |
Definition at line 55 of file ROL_ProjectedHessian.hpp.
|
inline |
Definition at line 72 of file ROL_ProjectedHessian.hpp.
|
inline |
Definition at line 81 of file ROL_ProjectedHessian.hpp.
|
inline |
Definition at line 91 of file ROL_ProjectedHessian.hpp.
|
inlinevirtual |
Apply Hessian.
This function applies the Hessian to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact Hessian application. |
Implements ROL::LinearOperator< Real >.
Definition at line 102 of file ROL_ProjectedHessian.hpp.
References ROL::Vector< Real >::plus().
|
inlinevirtual |
Apply inverse Hessian.
This function applies the inverse of the Hessian to a vector.
[out] | Hv | is the output vector. |
[in] | v | is the input vector. |
[in] | tol | is a tolerance for inexact Hessian application. |
Reimplemented from ROL::LinearOperator< Real >.
Definition at line 134 of file ROL_ProjectedHessian.hpp.
References ROL::Vector< Real >::plus().
|
private |
Definition at line 58 of file ROL_ProjectedHessian.hpp.
|
private |
Definition at line 59 of file ROL_ProjectedHessian.hpp.
|
private |
Definition at line 60 of file ROL_ProjectedHessian.hpp.
|
private |
Definition at line 61 of file ROL_ProjectedHessian.hpp.
|
private |
Definition at line 62 of file ROL_ProjectedHessian.hpp.
|
private |
Definition at line 64 of file ROL_ProjectedHessian.hpp.
|
private |
Definition at line 66 of file ROL_ProjectedHessian.hpp.
|
private |
Definition at line 68 of file ROL_ProjectedHessian.hpp.