Playa::LinearOperatorBase< Scalar > Class Template Reference

Inheritance diagram for Playa::LinearOperatorBase< Scalar >:

Playa::ObjectWithVerbosity

List of all members.

Public Member Functions

 ~LinearOperatorBase ()
virtual const RCP< const
VectorSpaceBase< Scalar > > 
domain () const =0
virtual const RCP< const
VectorSpaceBase< Scalar > > 
range () const =0
virtual void apply (Teuchos::ETransp applyType, const Vector< Scalar > &in, Vector< Scalar > out) const =0


Detailed Description

template<class Scalar>
class Playa::LinearOperatorBase< Scalar >

Base class for linear operators. Most operator subtypes can safely derive from LinearOpWithSpaces which provides trivial implementations of the domain() and range() methods.

Definition at line 28 of file PlayaLinearOperatorBaseDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Playa::LinearOperatorBase< Scalar >::~LinearOperatorBase (  )  [inline]

Virtual dtor

Definition at line 33 of file PlayaLinearOperatorBaseDecl.hpp.


Member Function Documentation

template<class Scalar>
virtual void Playa::LinearOperatorBase< Scalar >::apply ( Teuchos::ETransp  applyType,
const Vector< Scalar > &  in,
Vector< Scalar >  out 
) const [pure virtual]

Apply the operator.

Parameters:
applyType Indicates whether to apply the operator, its transpose, or its conjugate transpose.
in The vector on which the operator is to act
out The vector into which the result of the operation is to be written. This vector should already be initialized by the appropriate space.

Implemented in Playa::DenseSerialMatrix, Playa::EpetraMatrix, Playa::IfpackOperator, Playa::InverseOperator< Scalar >, Playa::MLOperator, Playa::MultiVectorOperator< Scalar >, Playa::SimpleAddedOp< Scalar >, Playa::SimpleBlockOp< Scalar >, Playa::SimpleComposedOp< Scalar >, Playa::SimpleDiagonalOp< Scalar >, Playa::SimpleIdentityOp< Scalar >, Playa::SimpleScaledOp< Scalar >, Playa::SimpleTransposedOp< Scalar >, and Playa::SimpleZeroOp< Scalar >.

template<class Scalar>
virtual const RCP<const VectorSpaceBase<Scalar> > Playa::LinearOperatorBase< Scalar >::domain (  )  const [pure virtual]

template<class Scalar>
virtual const RCP<const VectorSpaceBase<Scalar> > Playa::LinearOperatorBase< Scalar >::range (  )  const [pure virtual]

Site Contact