42#ifndef THYRA_ADDED_LINEAR_OP_BASE_HPP
43#define THYRA_ADDED_LINEAR_OP_BASE_HPP
45#include "Thyra_LinearOpBase.hpp"
Interface class for implicitly added linear operators.
virtual Teuchos::RCP< const LinearOpBase< Scalar > > getOp(const int k) const =0
Return the kth constant constituent operator.
virtual Teuchos::RCP< LinearOpBase< Scalar > > getNonconstOp(const int k)=0
Return the kth non-constant constituent operator.
virtual bool opIsConst(const int k) const =0
Determine if the kth constituent operator is const-only or not.
virtual int numOps() const =0
Returns the number of constituent operators.
Base class for all linear operators.