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

#include <ROL_PrimalDualInteriorPointOperator.hpp>

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

Public Member Functions

 PrimalDualInteriorPointBlock21 (const V &z)
 
void update (const Vector< Real > &z, 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
 

Private Attributes

ROL::Ptr< const Vzl_
 
ROL::Ptr< const Vzu_
 

Static Private Attributes

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

Detailed Description

template<class Real>
class ROL::PrimalDualInteriorPointBlock21< Real >

Definition at line 153 of file ROL_PrimalDualInteriorPointOperator.hpp.

Member Typedef Documentation

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

Definition at line 155 of file ROL_PrimalDualInteriorPointOperator.hpp.

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

Definition at line 156 of file ROL_PrimalDualInteriorPointOperator.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::PrimalDualInteriorPointBlock21< Real >::PrimalDualInteriorPointBlock21 ( const V z)
inline

Member Function Documentation

template<class Real >
void ROL::PrimalDualInteriorPointBlock21< 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 174 of file ROL_PrimalDualInteriorPointOperator.hpp.

References ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock21< Real >::LOWER, ROL::PrimalDualInteriorPointBlock21< Real >::UPPER, ROL::PrimalDualInteriorPointBlock21< Real >::zl_, and ROL::PrimalDualInteriorPointBlock21< Real >::zu_.

template<class Real >
virtual void ROL::PrimalDualInteriorPointBlock21< 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 180 of file ROL_PrimalDualInteriorPointOperator.hpp.

References ROL::PrimalDualInteriorPointBlock21< Real >::EQUAL, ROL::PartitionedVector< Real >::get(), ROL::PrimalDualInteriorPointBlock21< Real >::LOWER, ROL::PrimalDualInteriorPointBlock21< Real >::OPT, ROL::PrimalDualInteriorPointBlock21< Real >::UPPER, ROL::PrimalDualInteriorPointBlock21< Real >::zl_, and ROL::PrimalDualInteriorPointBlock21< Real >::zu_.

template<class Real >
virtual void ROL::PrimalDualInteriorPointBlock21< 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 202 of file ROL_PrimalDualInteriorPointOperator.hpp.

Member Data Documentation

template<class Real >
const size_type ROL::PrimalDualInteriorPointBlock21< Real >::OPT = 0
staticprivate
template<class Real >
const size_type ROL::PrimalDualInteriorPointBlock21< Real >::EQUAL = 1
staticprivate
template<class Real >
const size_type ROL::PrimalDualInteriorPointBlock21< Real >::LOWER = 0
staticprivate
template<class Real >
const size_type ROL::PrimalDualInteriorPointBlock21< Real >::UPPER = 1
staticprivate
template<class Real >
ROL::Ptr<const V> ROL::PrimalDualInteriorPointBlock21< Real >::zl_
private
template<class Real >
ROL::Ptr<const V> ROL::PrimalDualInteriorPointBlock21< Real >::zu_
private

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