Represent a scaled operator. More...
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) |
Represent a scaled operator.
Definition at line 50 of file TSFSimpleScaledOpDecl.hpp.
| TSFExtended::SimpleScaledOp< Scalar >::SimpleScaledOp | ( | const Scalar & | alpha, |
| const LinearOperator< Scalar > & | A | ||
| ) | [inline] |
Definition at line 57 of file TSFSimpleScaledOpImpl.hpp.
| const Scalar& TSFExtended::SimpleScaledOp< Scalar >::alpha | ( | ) | const [inline] |
Definition at line 67 of file TSFSimpleScaledOpDecl.hpp.
References TSFExtended::SimpleScaledOp< Scalar >::alpha_.
| void TSFExtended::SimpleScaledOp< Scalar >::applyOp | ( | const Thyra::EOpTransp | M_trans, |
| const Vector< Scalar > & | in, | ||
| Vector< Scalar > | out | ||
| ) | const [inline, virtual] |
Implements TSFExtended::SimplifiedLinearOpBase< Scalar >.
Definition at line 67 of file TSFSimpleScaledOpImpl.hpp.
References TSFExtended::Vector< Scalar >::scale(), and SUNDANCE_MSG2.
| std::string TSFExtended::SimpleScaledOp< Scalar >::description | ( | ) | const [inline] |
Definition at line 88 of file TSFSimpleScaledOpImpl.hpp.
References Teuchos::toString().
| LinearOperator<Scalar> TSFExtended::SimpleScaledOp< Scalar >::op | ( | ) | const [inline] |
Definition at line 70 of file TSFSimpleScaledOpDecl.hpp.
References TSFExtended::SimpleScaledOp< Scalar >::A_.
| void TSFExtended::SimpleScaledOp< Scalar >::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Implements Sundance::Printable.
Definition at line 97 of file TSFSimpleScaledOpImpl.hpp.
| LinearOperator< Scalar > scaledOperator | ( | const Scalar & | scale, |
| const LinearOperator< Scalar > & | op | ||
| ) | [related] |
Definition at line 166 of file TSFNonmemberOpHelpersImpl.hpp.
LinearOperator<Scalar> TSFExtended::SimpleScaledOp< Scalar >::A_ [private] |
Definition at line 77 of file TSFSimpleScaledOpDecl.hpp.
Referenced by TSFExtended::SimpleScaledOp< Scalar >::op().
Scalar TSFExtended::SimpleScaledOp< Scalar >::alpha_ [private] |
Definition at line 76 of file TSFSimpleScaledOpDecl.hpp.
Referenced by TSFExtended::SimpleScaledOp< Scalar >::alpha().