Public Member Functions | Private Attributes | Related Functions
TSFExtended::SimpleScaledOp< Scalar > Class Template Reference

Represent a scaled operator. More...

Inheritance diagram for TSFExtended::SimpleScaledOp< Scalar >:
TSFExtended::SimplifiedLinearOpWithSpaces< Scalar > Sundance::Printable TSFExtended::SimplifiedLinearOpBase< Scalar > TSFExtended::OpWithBackwardsCompatibleApply< Scalar > LinearOpBase Sundance::DefaultObjectWithVerbosity Sundance::ObjectWithVerbosityBase

List of all members.

Public Member Functions

 SimpleScaledOp (const Scalar &alpha, const LinearOperator< Scalar > &A)
void applyOp (const Thyra::EOpTransp M_trans, 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 TSFExtended::SimpleScaledOp< Scalar >

Represent a scaled operator.

Definition at line 50 of file TSFSimpleScaledOpDecl.hpp.


Constructor & Destructor Documentation

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

Definition at line 57 of file TSFSimpleScaledOpImpl.hpp.


Member Function Documentation

template<class Scalar >
const Scalar& TSFExtended::SimpleScaledOp< Scalar >::alpha ( ) const [inline]
template<class Scalar >
void TSFExtended::SimpleScaledOp< Scalar >::applyOp ( const Thyra::EOpTransp  M_trans,
const Vector< Scalar > &  in,
Vector< Scalar >  out 
) const [inline, virtual]
template<class Scalar >
std::string TSFExtended::SimpleScaledOp< Scalar >::description ( ) const [inline]

Definition at line 88 of file TSFSimpleScaledOpImpl.hpp.

References Teuchos::toString().

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

Implements Sundance::Printable.

Definition at line 97 of file TSFSimpleScaledOpImpl.hpp.


Friends And Related Function Documentation

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

Definition at line 166 of file TSFNonmemberOpHelpersImpl.hpp.


Member Data Documentation

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

Definition at line 77 of file TSFSimpleScaledOpDecl.hpp.

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

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

Site Contact