Public Member Functions | Private Attributes | Related Functions
Playa::SimpleScaledOp< Scalar > Class Template Reference
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

Private Attributes

Scalar alpha_
LinearOperator< Scalar > A_

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 63 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 69 of file PlayaSimpleScaledOpImpl.hpp.


Member Function Documentation

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

Definition at line 100 of file PlayaSimpleScaledOpImpl.hpp.

References Teuchos::toString().

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

Definition at line 83 of file PlayaSimpleScaledOpDecl.hpp.

References Playa::SimpleScaledOp< Scalar >::A_.

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

Implements Playa::Printable.

Definition at line 109 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 122 of file PlayaSimpleScaledOpImpl.hpp.


Member Data Documentation

template<class Scalar >
LinearOperator<Scalar> Playa::SimpleScaledOp< Scalar >::A_ [private]

Definition at line 90 of file PlayaSimpleScaledOpDecl.hpp.

Referenced by Playa::SimpleScaledOp< Scalar >::op().

template<class Scalar >
Scalar Playa::SimpleScaledOp< Scalar >::alpha_ [private]

Definition at line 89 of file PlayaSimpleScaledOpDecl.hpp.

Referenced by Playa::SimpleScaledOp< Scalar >::alpha().

Site Contact