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