Playa::SimpleAddedOp< Scalar > Class Template Reference

Represent a sum of operators A_0 + A_1 + . More...

Inheritance diagram for Playa::SimpleAddedOp< Scalar >:

Playa::LinearOpWithSpaces< Scalar > Playa::LinearOperatorBase< Scalar > Playa::ObjectWithVerbosity

List of all members.

Public Member Functions

 SimpleAddedOp (const Array< LinearOperator< Scalar > > &ops)
void apply (Teuchos::ETransp transApplyType, const Vector< Scalar > &in, Vector< Scalar > out) const
 Apply the operator.
std::string description () const

Private Attributes

Array< LinearOperator< Scalar > > ops_


Detailed Description

template<class Scalar>
class Playa::SimpleAddedOp< Scalar >

Represent a sum of operators A_0 + A_1 + .

.. + A_n.

Definition at line 25 of file PlayaSimpleAddedOpDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
Playa::SimpleAddedOp< Scalar >::SimpleAddedOp ( const Array< LinearOperator< Scalar > > &  ops  )  [inline]


Member Function Documentation

template<class Scalar >
void Playa::SimpleAddedOp< Scalar >::apply ( Teuchos::ETransp  applyType,
const Vector< Scalar > &  in,
Vector< Scalar >  out 
) const [inline, 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.

Implements Playa::LinearOperatorBase< Scalar >.

Definition at line 51 of file PlayaSimpleAddedOpImpl.hpp.

References Playa::Vector< Scalar >::acceptCopyOf(), Playa::Vector< Scalar >::copy(), Playa::SimpleAddedOp< Scalar >::ops_, PLAYA_MSG2, PLAYA_MSG3, Playa::ObjectWithVerbosity::verb(), and Playa::Vector< Scalar >::zero().

template<class Scalar >
std::string Playa::SimpleAddedOp< Scalar >::description (  )  const [inline]

Definition at line 79 of file PlayaSimpleAddedOpImpl.hpp.

References Playa::SimpleAddedOp< Scalar >::ops_.


Member Data Documentation

template<class Scalar >
Array<LinearOperator<Scalar> > Playa::SimpleAddedOp< Scalar >::ops_ [private]

Site Contact