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

#include <ROL_InteriorPointPrimalDualResidual.hpp>

+ Inheritance diagram for ROL::InteriorPoint::PrimalDualSymmetrizer< Real >:

Public Member Functions

 PrimalDualSymmetrizer (const V &s)
 
void update (const V &s, bool flag=true, int iter=-1)
 Update linear operator. More...
 
void apply (V &Hv, const V &v, Real &tol) const
 Apply linear operator. More...
 
void applyInverse (V &Hv, const V &v, Real &tol) const
 Apply inverse of linear operator. More...
 
- Public Member Functions inherited from ROL::LinearOperator< Real >
virtual ~LinearOperator ()
 

Private Types

typedef Vector< Real > V
 
typedef PartitionedVector< Real > PV
 
typedef PV::size_type size_type
 

Private Attributes

Teuchos::RCP< Vs_
 

Static Private Attributes

static const size_type OPT = 0
 
static const size_type SLACK = 1
 
static const size_type EQUAL = 2
 
static const size_type INEQ = 3
 

Detailed Description

template<class Real>
class ROL::InteriorPoint::PrimalDualSymmetrizer< Real >

Definition at line 73 of file ROL_InteriorPointPrimalDualResidual.hpp.

Member Typedef Documentation

template<class Real >
typedef Vector<Real> ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::V
private

Definition at line 272 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
typedef PartitionedVector<Real> ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::PV
private

Definition at line 273 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
typedef PV::size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::size_type
private

Definition at line 275 of file ROL_InteriorPointPrimalDualResidual.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::PrimalDualSymmetrizer ( const V s)
inline

Member Function Documentation

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::update ( const V 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 292 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::apply ( V Hv,
const V 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 296 of file ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::PartitionedVector< Real >::get().

template<class Real >
void ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::applyInverse ( V Hv,
const V 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 328 of file ROL_InteriorPointPrimalDualResidual.hpp.

References ROL::PartitionedVector< Real >::get().

Member Data Documentation

template<class Real >
Teuchos::RCP<V> ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::s_
private

Definition at line 278 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::OPT = 0
staticprivate

Definition at line 280 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::SLACK = 1
staticprivate

Definition at line 281 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::EQUAL = 2
staticprivate

Definition at line 282 of file ROL_InteriorPointPrimalDualResidual.hpp.

template<class Real >
const size_type ROL::InteriorPoint::PrimalDualSymmetrizer< Real >::INEQ = 3
staticprivate

Definition at line 283 of file ROL_InteriorPointPrimalDualResidual.hpp.


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