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) |
Definition at line 26 of file PlayaSimpleScaledOpDecl.hpp.
Playa::SimpleScaledOp< Scalar >::SimpleScaledOp | ( | const Scalar & | alpha, | |
const LinearOperator< Scalar > & | A | |||
) | [inline] |
Definition at line 32 of file PlayaSimpleScaledOpImpl.hpp.
const Scalar& Playa::SimpleScaledOp< Scalar >::alpha | ( | ) | const [inline] |
Definition at line 43 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 42 of file PlayaSimpleScaledOpImpl.hpp.
References Playa::SimpleScaledOp< Scalar >::A_, Playa::SimpleScaledOp< Scalar >::alpha_, PLAYA_MSG2, Playa::Vector< Scalar >::scale(), and Playa::ObjectWithVerbosity::verb().
std::string Playa::SimpleScaledOp< Scalar >::description | ( | ) | const [inline] |
Definition at line 63 of file PlayaSimpleScaledOpImpl.hpp.
References Playa::SimpleScaledOp< Scalar >::A_, Playa::SimpleScaledOp< Scalar >::alpha_, and Teuchos::toString().
LinearOperator<Scalar> Playa::SimpleScaledOp< Scalar >::op | ( | ) | const [inline] |
Definition at line 46 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 72 of file PlayaSimpleScaledOpImpl.hpp.
References Playa::SimpleScaledOp< Scalar >::A_, and Playa::SimpleScaledOp< Scalar >::alpha_.
LinearOperator< Scalar > scaledOperator | ( | const Scalar & | scale, | |
const LinearOperator< Scalar > & | op | |||
) | [related] |
Definition at line 85 of file PlayaSimpleScaledOpImpl.hpp.
LinearOperator<Scalar> Playa::SimpleScaledOp< Scalar >::A_ [private] |
Definition at line 53 of file PlayaSimpleScaledOpDecl.hpp.
Referenced by Playa::SimpleScaledOp< Scalar >::apply(), Playa::SimpleScaledOp< Scalar >::description(), Playa::SimpleScaledOp< Scalar >::op(), and Playa::SimpleScaledOp< Scalar >::print().
Scalar Playa::SimpleScaledOp< Scalar >::alpha_ [private] |
Definition at line 52 of file PlayaSimpleScaledOpDecl.hpp.
Referenced by Playa::SimpleScaledOp< Scalar >::alpha(), Playa::SimpleScaledOp< Scalar >::apply(), Playa::SimpleScaledOp< Scalar >::description(), and Playa::SimpleScaledOp< Scalar >::print().