Thyra::SingleRhsLinearOpBase< Scalar > Class Template Reference
[Development of linear Abstract Numerical Algorithms (ANAs)]

Base class for linear operators that can only implement a single RHS vector apply operation and only support one scalar type. More...

#include <Thyra_SingleRhsLinearOpBaseDecl.hpp>

Inheritance diagram for Thyra::SingleRhsLinearOpBase< Scalar >:

[legend]
List of all members.

Overridden from LinearOpBase

void apply (const ETransp M_trans, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha, const Scalar beta) const
 

Pure virtual functions (must be overridden by subclass)

virtual void apply (const ETransp M_trans, const VectorBase< Scalar > &x, VectorBase< Scalar > *y, const Scalar alpha, const Scalar beta) const =0
 Apply the linear operator (or its transpose) to single vector arguments.

Detailed Description

template<class Scalar>
class Thyra::SingleRhsLinearOpBase< Scalar >

Base class for linear operators that can only implement a single RHS vector apply operation and only support one scalar type.

This class is meant to provide an easier way for subclasses to provide implementations for the multi-vector version of SingleScalarLinearOpBase::apply() and is not meant to be used as an client interface.

Definition at line 47 of file Thyra_SingleRhsLinearOpBaseDecl.hpp.


Member Function Documentation

template<class Scalar>
void Thyra::SingleRhsLinearOpBase< Scalar >::apply ( const ETransp  M_trans,
const MultiVectorBase< Scalar > &  X,
MultiVectorBase< Scalar > *  Y,
const Scalar  alpha,
const Scalar  beta 
) const [virtual]

Implements Thyra::SingleScalarLinearOpBase< Scalar >.

Definition at line 41 of file Thyra_SingleRhsLinearOpBase.hpp.

template<class Scalar>
virtual void Thyra::SingleRhsLinearOpBase< Scalar >::apply ( const ETransp  M_trans,
const VectorBase< Scalar > &  x,
VectorBase< Scalar > *  y,
const Scalar  alpha,
const Scalar  beta 
) const [protected, pure virtual]

Apply the linear operator (or its transpose) to single vector arguments.

Implemented in Thyra::DefaultColumnwiseMultiVector< Scalar >, Thyra::DefaultDiagonalLinearOp< Scalar >, and Thyra::VectorDefaultBase< Scalar >.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:47:00 2009 for Thyra Operator/Vector Support by doxygen 1.4.7