Thyra Version of the Day
Loading...
Searching...
No Matches
Thyra::ZeroLinearOpBase< Scalar > Class Template Reference

Interface class for zero linear operators. More...

#include <Thyra_ZeroLinearOpBase.hpp>

Inheritance diagram for Thyra::ZeroLinearOpBase< Scalar >:

Additional Inherited Members

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).
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::ZeroLinearOpBase< Scalar >

Interface class for zero linear operators.

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

M = 0

In other words, subclasses define apply() as:

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

Definition at line 36 of file Thyra_ZeroLinearOpBase.hpp.


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