Thyra Version of the Day
Loading...
Searching...
No Matches
List of all members
Thyra::IdentityLinearOpBase< Scalar > Class Template Reference

Interface class for identity linear operators. More...

#include <Thyra_IdentityLinearOpBase.hpp>

Inheritance diagram for Thyra::IdentityLinearOpBase< Scalar >:
Inheritance graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from Thyra::LinearOpBase< Scalar >
virtual RCP< const VectorSpaceBase< Scalar > > range () const =0
 Return a smart pointer for the range space for this operator.
 
virtual RCP< const VectorSpaceBase< Scalar > > domain () const =0
 Return a smart pointer for the domain space for this operator.
 
bool opSupported (EOpTransp M_trans) const
 Return if the M_trans operation of apply() is supported or not.
 
void apply (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
 Apply the linear operator to a multi-vector : Y = alpha*op(M)*X + beta*Y.
 
virtual RCP< const LinearOpBase< Scalar > > clone () const
 Clone the linear operator object (if supported).
 
- Protected Member Functions inherited from Thyra::LinearOpBase< Scalar >
virtual bool opSupportedImpl (EOpTransp M_trans) const =0
 Override in subclass.
 
virtual void applyImpl (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const =0
 Override in subclass.
 

Detailed Description

template<class Scalar>
class Thyra::IdentityLinearOpBase< Scalar >

Interface class for identity linear operators.

This interface represents a identity linear operator M of the form:

M = I

In other words, subclasses define apply() as:

y = alpha*M*x + beta*y
  = alpha * x + beta * y

Definition at line 68 of file Thyra_IdentityLinearOpBase.hpp.


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