Playa::SimpleDiagonalOp< Scalar > Class Template Reference

Inheritance diagram for Playa::SimpleDiagonalOp< Scalar >:

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

List of all members.

Public Member Functions

 SimpleDiagonalOp (const Vector< Scalar > &diag)
void apply (Teuchos::ETransp transApplyType, const Vector< Scalar > &in, Vector< Scalar > out) const
std::string description () const
void print (std::ostream &os) const

Private Attributes

Vector< Scalar > diag_

Related Functions

(Note that these are not member functions.)

template<class Scalar >
LinearOperator< Scalar > diagonalOperator (const Vector< Scalar > &diag)

Detailed Description

template<class Scalar>
class Playa::SimpleDiagonalOp< Scalar >

Definition at line 25 of file PlayaSimpleDiagonalOpDecl.hpp.

Constructor & Destructor Documentation

template<class Scalar >
Playa::SimpleDiagonalOp< Scalar >::SimpleDiagonalOp ( const Vector< Scalar > &  diag  )  [inline]

Definition at line 31 of file PlayaSimpleDiagonalOpImpl.hpp.

Member Function Documentation

template<class Scalar >
void Playa::SimpleDiagonalOp< Scalar >::apply ( Teuchos::ETransp  transApplyType,
const Vector< Scalar > &  in,
Vector< Scalar >  out 
) const [inline, virtual]

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

template<class Scalar >
void Playa::SimpleDiagonalOp< Scalar >::print ( std::ostream &  os  )  const [inline, virtual]

Friends And Related Function Documentation

template<class Scalar >
LinearOperator< Scalar > diagonalOperator ( const Vector< Scalar > &  diag  )  [related]

Definition at line 75 of file PlayaSimpleDiagonalOpImpl.hpp.

Member Data Documentation

template<class Scalar >
Vector<Scalar> Playa::SimpleDiagonalOp< Scalar >::diag_ [private]

Site Contact