ROL
ROL::ROL::BarzilaiBorwein< Real > Class Template Reference

#include <ROL_Constraint_SerialSimOpt.hpp>

Inheritance diagram for ROL::ROL::BarzilaiBorwein< Real >:

Public Member Functions

 BarzilaiBorwein (int type=1)
void applyH (Vector< Real > &Hv, const Vector< Real > &v) const
void applyB (Vector< Real > &Bv, const Vector< Real > &v) const
Public Member Functions inherited from ROL::ROL::Secant< Real >
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 applyH0 (Vector< Real > &Hv, const Vector< Real > &v) const
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
 Apply linear operator.
void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of linear operator.
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 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.

Private Attributes

int type_

Additional Inherited Members

Protected Attributes inherited from ROL::ROL::Secant< Real >
const Ptr< SecantState< Real > > state_
Ptr< Vector< Real > > y_
bool useDefaultScaling_
Real Bscaling_

Detailed Description

template<class Real>
class ROL::ROL::BarzilaiBorwein< Real >

Definition at line 26 of file ROL_Constraint_SerialSimOpt.hpp.

Constructor & Destructor Documentation

◆ BarzilaiBorwein()

template<class Real>
ROL::ROL::BarzilaiBorwein< Real >::BarzilaiBorwein ( int type = 1)
inline

Definition at line 32 of file ROL_Constraint_SerialSimOpt.hpp.

Member Function Documentation

◆ applyH()

template<class Real>
void ROL::ROL::BarzilaiBorwein< Real >::applyH ( Vector< Real > & Hv,
const Vector< Real > & v ) const
inlinevirtual

Implements ROL::ROL::Secant< Real >.

Definition at line 35 of file ROL_Constraint_SerialSimOpt.hpp.

◆ applyB()

template<class Real>
void ROL::ROL::BarzilaiBorwein< Real >::applyB ( Vector< Real > & Bv,
const Vector< Real > & v ) const
inlinevirtual

Implements ROL::ROL::Secant< Real >.

Definition at line 53 of file ROL_Constraint_SerialSimOpt.hpp.

Member Data Documentation

◆ type_

template<class Real>
int ROL::ROL::BarzilaiBorwein< Real >::type_
private

Definition at line 29 of file ROL_Constraint_SerialSimOpt.hpp.


The documentation for this class was generated from the following file: