
Public Member Functions | |
| SimpleDiagonalOp (const Vector< Scalar > &diag) | |
| void | apply (Teuchos::ETransp transApplyType, const Vector< Scalar > &in, Vector< Scalar > out) const |
| std::string | description () const |
| void | print (std::ostream &os) const |
Private Attributes | |
| Vector< Scalar > | diag_ |
Related Functions | |
| (Note that these are not member functions.) | |
| template<class Scalar > | |
| LinearOperator< Scalar > | diagonalOperator (const Vector< Scalar > &diag) |
Definition at line 25 of file PlayaSimpleDiagonalOpDecl.hpp.
| Playa::SimpleDiagonalOp< Scalar >::SimpleDiagonalOp | ( | const Vector< Scalar > & | diag | ) | [inline] |
Definition at line 31 of file PlayaSimpleDiagonalOpImpl.hpp.
| void Playa::SimpleDiagonalOp< Scalar >::apply | ( | Teuchos::ETransp | transApplyType, | |
| const Vector< Scalar > & | in, | |||
| Vector< Scalar > | out | |||
| ) | const [inline, virtual] |
Implements Playa::LinearOperatorBase< Scalar >.
Definition at line 40 of file PlayaSimpleDiagonalOpImpl.hpp.
References Playa::Vector< Scalar >::acceptCopyOf(), Playa::SimpleDiagonalOp< Scalar >::diag_, Playa::Vector< Scalar >::dotStar(), PLAYA_MSG2, and Playa::ObjectWithVerbosity::verb().
| std::string Playa::SimpleDiagonalOp< Scalar >::description | ( | ) | const [inline] |
Definition at line 55 of file PlayaSimpleDiagonalOpImpl.hpp.
References Playa::SimpleDiagonalOp< Scalar >::diag_.
| void Playa::SimpleDiagonalOp< Scalar >::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Implements Playa::Printable.
Definition at line 63 of file PlayaSimpleDiagonalOpImpl.hpp.
References Playa::SimpleDiagonalOp< Scalar >::diag_.
| LinearOperator< Scalar > diagonalOperator | ( | const Vector< Scalar > & | diag | ) | [related] |
Definition at line 75 of file PlayaSimpleDiagonalOpImpl.hpp.
Vector<Scalar> Playa::SimpleDiagonalOp< Scalar >::diag_ [private] |
Definition at line 45 of file PlayaSimpleDiagonalOpDecl.hpp.
Referenced by Playa::SimpleDiagonalOp< Scalar >::apply(), Playa::SimpleDiagonalOp< Scalar >::description(), and Playa::SimpleDiagonalOp< Scalar >::print().