Playa::SimpleScaledOp< Scalar > Class Template Reference

#include <PlayaSimpleScaledOpDecl.hpp>

Inheritance diagram for Playa::SimpleScaledOp< Scalar >:

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

List of all members.

Public Member Functions

 SimpleScaledOp (const Scalar &alpha, const LinearOperator< Scalar > &A)
void apply (Teuchos::ETransp transApplyType, const Vector< Scalar > &in, Vector< Scalar > out) const
std::string description () const
const Scalar & alpha () const
LinearOperator< Scalar > op () const
void print (std::ostream &os) const

Related Functions

(Note that these are not member functions.)

template<class Scalar >
LinearOperator< Scalar > scaledOperator (const Scalar &scale, const LinearOperator< Scalar > &op)


Detailed Description

template<class Scalar>
class Playa::SimpleScaledOp< Scalar >

Represent a scaled operator

Definition at line 26 of file PlayaSimpleScaledOpDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar >
Playa::SimpleScaledOp< Scalar >::SimpleScaledOp ( const Scalar &  alpha,
const LinearOperator< Scalar > &  A 
) [inline]

Definition at line 32 of file PlayaSimpleScaledOpImpl.hpp.


Member Function Documentation

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

Implements Playa::LinearOperatorBase< Scalar >.

Definition at line 42 of file PlayaSimpleScaledOpImpl.hpp.

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

Definition at line 63 of file PlayaSimpleScaledOpImpl.hpp.

template<class Scalar >
const Scalar& Playa::SimpleScaledOp< Scalar >::alpha (  )  const [inline]

Definition at line 43 of file PlayaSimpleScaledOpDecl.hpp.

template<class Scalar >
LinearOperator<Scalar> Playa::SimpleScaledOp< Scalar >::op (  )  const [inline]

Definition at line 46 of file PlayaSimpleScaledOpDecl.hpp.

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

Implements Playa::Printable.

Definition at line 72 of file PlayaSimpleScaledOpImpl.hpp.


Friends And Related Function Documentation

template<class Scalar >
LinearOperator< Scalar > scaledOperator ( const Scalar &  scale,
const LinearOperator< Scalar > &  op 
) [related]

Definition at line 85 of file PlayaSimpleScaledOpImpl.hpp.


The documentation for this class was generated from the following files:

doxygen