42 #ifndef THYRA_DIAGONAL_LINEAR_OP_BASE_HPP 43 #define THYRA_DIAGONAL_LINEAR_OP_BASE_HPP 45 #include "Thyra_LinearOpBase.hpp" 74 template<
class Scalar>
111 #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.