10 #ifndef THYRA_DIAGONAL_LINEAR_OP_BASE_HPP
11 #define THYRA_DIAGONAL_LINEAR_OP_BASE_HPP
13 #include "Thyra_LinearOpBase.hpp"
42 template<
class Scalar>
79 #endif // THYRA_DIAGONAL_LINEAR_OP_BASE_HPP
virtual Teuchos::RCP< const VectorBase< Scalar > > getDiag() const =0
Returns the const diagonal vector diag.
Base class for all linear operators.
virtual Teuchos::RCP< VectorBase< Scalar > > getNonconstDiag()=0
Returns the non-const diagonal vector diag.
virtual bool isDiagConst() const =0
Returns true if the diagonal vector is const-only.
Interface class for for diagonal linear operators.