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

#include <ROL_Constraint_SerialSimOpt.hpp>

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

Public Member Functions

virtual ~RangeSpaceOperator ()
 RangeSpaceOperator (const Ptr< Constraint< Real > > &con, const Ptr< const Vector< Real > > &dom, const Ptr< const Vector< Real > > &ran)
virtual void update (const Vector< Real > &x, bool flag=true, int iter=-1)
 Update linear operator.
virtual void apply (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply linear operator.
void applyAdjoint (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of linear operator.
void applyInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply inverse of linear operator.
void applyAdjointInverse (Vector< Real > &Hv, const Vector< Real > &v, Real &tol) const
 Apply adjoint of the inverse linear operator.
Public Member Functions inherited from ROL::ROL::LinearOperator< Real >
virtual ~LinearOperator ()

Private Attributes

const Ptr< Constraint< Real > > con_
const Ptr< Vector< Real > > x_
Ptr< Vector< Real > > b1_
Ptr< Vector< Real > > b2_
Ptr< Vector< Real > > mul_

Detailed Description

template<class Real>
class ROL::ROL::RangeSpaceOperator< Real >

Definition at line 25 of file ROL_Constraint_SerialSimOpt.hpp.

Constructor & Destructor Documentation

◆ ~RangeSpaceOperator()

template<class Real>
virtual ROL::ROL::RangeSpaceOperator< Real >::~RangeSpaceOperator ( )
inlinevirtual

Definition at line 35 of file ROL_Constraint_SerialSimOpt.hpp.

◆ RangeSpaceOperator()

template<class Real>
ROL::ROL::RangeSpaceOperator< Real >::RangeSpaceOperator ( const Ptr< Constraint< Real > > & con,
const Ptr< const Vector< Real > > & dom,
const Ptr< const Vector< Real > > & ran )
inline

Definition at line 36 of file ROL_Constraint_SerialSimOpt.hpp.

Member Function Documentation

◆ update()

template<class Real>
virtual void ROL::ROL::RangeSpaceOperator< 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::ROL::LinearOperator< Real >.

Definition at line 46 of file ROL_Constraint_SerialSimOpt.hpp.

◆ apply()

template<class Real>
virtual void ROL::ROL::RangeSpaceOperator< 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::ROL::LinearOperator< Real >.

Definition at line 50 of file ROL_Constraint_SerialSimOpt.hpp.

Referenced by ROL::ROL::ReduceLinearConstraint< Real >::feasible().

◆ applyAdjoint()

template<class Real>
void ROL::ROL::RangeSpaceOperator< Real >::applyAdjoint ( Vector< Real > & Hv,
const Vector< Real > & v,
Real & tol ) const
inlinevirtual

Apply adjoint of linear operator.

This function applies the adjoint of a linear operator to a vector. Default behavior assumes operator is self-adjoint.

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

Reimplemented from ROL::ROL::LinearOperator< Real >.

Definition at line 55 of file ROL_Constraint_SerialSimOpt.hpp.

References ui_.

◆ applyInverse()

template<class Real>
void ROL::ROL::RangeSpaceOperator< 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::ROL::LinearOperator< Real >.

Definition at line 59 of file ROL_Constraint_SerialSimOpt.hpp.

References workspace_.

◆ applyAdjointInverse()

template<class Real>
void ROL::ROL::RangeSpaceOperator< Real >::applyAdjointInverse ( Vector< Real > & Hv,
const Vector< Real > & v,
Real & tol ) const
inlinevirtual

Apply adjoint of the inverse linear operator.

This function applies the adjoint of the inverse linear operator to a vector. Default behavior assumes operator is self-adjoint.

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

Reimplemented from ROL::ROL::LinearOperator< Real >.

Definition at line 63 of file ROL_Constraint_SerialSimOpt.hpp.

Member Data Documentation

◆ con_

template<class Real>
const Ptr<Constraint<Real> > ROL::ROL::RangeSpaceOperator< Real >::con_
private

Definition at line 27 of file ROL_Constraint_SerialSimOpt.hpp.

◆ x_

template<class Real>
const Ptr<Vector<Real> > ROL::ROL::RangeSpaceOperator< Real >::x_
private

Definition at line 28 of file ROL_Constraint_SerialSimOpt.hpp.

◆ b1_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::RangeSpaceOperator< Real >::b1_
mutableprivate

Definition at line 30 of file ROL_Constraint_SerialSimOpt.hpp.

◆ b2_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::RangeSpaceOperator< Real >::b2_
mutableprivate

Definition at line 31 of file ROL_Constraint_SerialSimOpt.hpp.

◆ mul_

template<class Real>
Ptr<Vector<Real> > ROL::ROL::RangeSpaceOperator< Real >::mul_
mutableprivate

Definition at line 32 of file ROL_Constraint_SerialSimOpt.hpp.


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