ROL
Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
ROL::PrimalDualInteriorPointBlock22< Real > Class Template Reference

#include <ROL_PrimalDualInteriorPointOperator.hpp>

+ Inheritance diagram for ROL::PrimalDualInteriorPointBlock22< Real >:

Public Member Functions

 PrimalDualInteriorPointBlock22 (const ROL::Ptr< BND > &bnd, const Vector< Real > &x)
 
virtual void update (const Vector< Real > &x, bool flag=true, int iter=-1)
 Update linear operator. More...
 
virtual void apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply linear operator. More...
 
virtual 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 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...
 

Private Types

typedef Vector< Real > V
 
typedef PartitionedVector< Real > PV
 
typedef BoundConstraint< Real > BND
 

Private Attributes

ROL::Ptr< const Vx_
 
ROL::Ptr< const Vxl_
 
ROL::Ptr< const Vxu_
 
Elementwise::Multiply< Real > mult_
 
Elementwise::Multiply< Real > divinv_
 

Static Private Attributes

static const size_type OPT = 0
 
static const size_type LOWER = 0
 
static const size_type UPPER = 1
 

Detailed Description

template<class Real>
class ROL::PrimalDualInteriorPointBlock22< Real >

Definition at line 246 of file ROL_PrimalDualInteriorPointOperator.hpp.

Member Typedef Documentation

template<class Real >
typedef Vector<Real> ROL::PrimalDualInteriorPointBlock22< Real >::V
private

Definition at line 248 of file ROL_PrimalDualInteriorPointOperator.hpp.

template<class Real >
typedef PartitionedVector<Real> ROL::PrimalDualInteriorPointBlock22< Real >::PV
private

Definition at line 249 of file ROL_PrimalDualInteriorPointOperator.hpp.

template<class Real >
typedef BoundConstraint<Real> ROL::PrimalDualInteriorPointBlock22< Real >::BND
private

Definition at line 250 of file ROL_PrimalDualInteriorPointOperator.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::PrimalDualInteriorPointBlock22< Real >::PrimalDualInteriorPointBlock22 ( const ROL::Ptr< BND > &  bnd,
const Vector< Real > &  x 
)
inline

Member Function Documentation

template<class Real >
virtual void ROL::PrimalDualInteriorPointBlock22< Real >::update ( const Vector< Real > &  x,
bool  flag = true,
int  iter = -1 
)
inlinevirtual

Update linear operator.

This function updates the linear operator at new iterations.

Parameters
[in]xis the new iterate.
[in]flagis true if the iterate has changed.
[in]iteris the outer algorithm iterations count.

Reimplemented from ROL::LinearOperator< Real >.

Definition at line 276 of file ROL_PrimalDualInteriorPointOperator.hpp.

References ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock22< Real >::OPT, and ROL::PrimalDualInteriorPointBlock22< Real >::x_.

template<class Real >
virtual void ROL::PrimalDualInteriorPointBlock22< Real >::apply ( Vector< Real > &  Hv,
const Vector< Real > &  v,
Real &  tol 
) const
inlinevirtual

Apply linear operator.

This function applies the linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Implements ROL::LinearOperator< Real >.

Definition at line 282 of file ROL_PrimalDualInteriorPointOperator.hpp.

References ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock22< Real >::LOWER, ROL::PrimalDualInteriorPointBlock22< Real >::mult_, ROL::PrimalDualInteriorPointBlock22< Real >::UPPER, ROL::PrimalDualInteriorPointBlock22< Real >::x_, ROL::PrimalDualInteriorPointBlock22< Real >::xl_, and ROL::PrimalDualInteriorPointBlock22< Real >::xu_.

template<class Real >
virtual void ROL::PrimalDualInteriorPointBlock22< Real >::applyInverse ( Vector< Real > &  Hv,
const Vector< Real > &  v,
Real &  tol 
) const
inlinevirtual

Apply inverse of linear operator.

This function applies the inverse of linear operator to a vector.

Parameters
[out]Hvis the output vector.
[in]vis the input vector.
[in]tolis a tolerance for inexact linear operator application.

Reimplemented from ROL::LinearOperator< Real >.

Definition at line 306 of file ROL_PrimalDualInteriorPointOperator.hpp.

References ROL::PrimalDualInteriorPointBlock22< Real >::divinv_, ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock22< Real >::LOWER, ROL::PrimalDualInteriorPointBlock22< Real >::UPPER, ROL::PrimalDualInteriorPointBlock22< Real >::x_, ROL::PrimalDualInteriorPointBlock22< Real >::xl_, and ROL::PrimalDualInteriorPointBlock22< Real >::xu_.

Member Data Documentation

template<class Real >
const size_type ROL::PrimalDualInteriorPointBlock22< Real >::OPT = 0
staticprivate
template<class Real >
const size_type ROL::PrimalDualInteriorPointBlock22< Real >::LOWER = 0
staticprivate
template<class Real >
const size_type ROL::PrimalDualInteriorPointBlock22< Real >::UPPER = 1
staticprivate
template<class Real >
ROL::Ptr<const V> ROL::PrimalDualInteriorPointBlock22< Real >::x_
private
template<class Real >
ROL::Ptr<const V> ROL::PrimalDualInteriorPointBlock22< Real >::xl_
private
template<class Real >
ROL::Ptr<const V> ROL::PrimalDualInteriorPointBlock22< Real >::xu_
private
template<class Real >
Elementwise::Multiply<Real> ROL::PrimalDualInteriorPointBlock22< Real >::mult_
private
template<class Real >
Elementwise::Multiply<Real> ROL::PrimalDualInteriorPointBlock22< Real >::divinv_
private

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