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) |
Represent a scaled operator
Definition at line 63 of file PlayaSimpleScaledOpDecl.hpp.
| Playa::SimpleScaledOp< Scalar >::SimpleScaledOp | ( | const Scalar & | alpha, |
| const LinearOperator< Scalar > & | A | ||
| ) | [inline] |
Definition at line 69 of file PlayaSimpleScaledOpImpl.hpp.
| const Scalar& Playa::SimpleScaledOp< Scalar >::alpha | ( | ) | const [inline] |
Definition at line 80 of file PlayaSimpleScaledOpDecl.hpp.
References Playa::SimpleScaledOp< Scalar >::alpha_.
| 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 79 of file PlayaSimpleScaledOpImpl.hpp.
References PLAYA_MSG2, and Playa::Vector< Scalar >::scale().
| std::string Playa::SimpleScaledOp< Scalar >::description | ( | ) | const [inline] |
Definition at line 100 of file PlayaSimpleScaledOpImpl.hpp.
References Teuchos::toString().
| LinearOperator<Scalar> Playa::SimpleScaledOp< Scalar >::op | ( | ) | const [inline] |
Definition at line 83 of file PlayaSimpleScaledOpDecl.hpp.
References Playa::SimpleScaledOp< Scalar >::A_.
| void Playa::SimpleScaledOp< Scalar >::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Implements Playa::Printable.
Definition at line 109 of file PlayaSimpleScaledOpImpl.hpp.
| LinearOperator< Scalar > scaledOperator | ( | const Scalar & | scale, |
| const LinearOperator< Scalar > & | op | ||
| ) | [related] |
Definition at line 122 of file PlayaSimpleScaledOpImpl.hpp.
LinearOperator<Scalar> Playa::SimpleScaledOp< Scalar >::A_ [private] |
Definition at line 90 of file PlayaSimpleScaledOpDecl.hpp.
Referenced by Playa::SimpleScaledOp< Scalar >::op().
Scalar Playa::SimpleScaledOp< Scalar >::alpha_ [private] |
Definition at line 89 of file PlayaSimpleScaledOpDecl.hpp.
Referenced by Playa::SimpleScaledOp< Scalar >::alpha().