Playa::SimpleIdentityOp< Scalar > Class Template Reference

Inheritance diagram for Playa::SimpleIdentityOp< Scalar >:

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

List of all members.

Public Member Functions

 SimpleIdentityOp (const VectorSpace< Scalar > &space)
void apply (Teuchos::ETransp transApplyType, const Vector< Scalar > &in, Vector< Scalar > out) const
 Apply the operator.
std::string description () const

Related Functions

(Note that these are not member functions.)

template<class Scalar >
LinearOperator< Scalar > identityOperator (const VectorSpace< Scalar > &space)


Detailed Description

template<class Scalar>
class Playa::SimpleIdentityOp< Scalar >

Definition at line 25 of file PlayaSimpleIdentityOpDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
Playa::SimpleIdentityOp< Scalar >::SimpleIdentityOp ( const VectorSpace< Scalar > &  space  )  [inline]

Definition at line 28 of file PlayaSimpleIdentityOpImpl.hpp.


Member Function Documentation

template<class Scalar >
void Playa::SimpleIdentityOp< 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 33 of file PlayaSimpleIdentityOpImpl.hpp.

References Playa::Vector< Scalar >::acceptCopyOf(), PLAYA_MSG2, and Playa::ObjectWithVerbosity::verb().

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


Friends And Related Function Documentation

template<class Scalar >
LinearOperator< Scalar > identityOperator ( const VectorSpace< Scalar > &  space  )  [related]

Definition at line 50 of file PlayaSimpleIdentityOpImpl.hpp.

Site Contact