10 #ifndef THYRA_ADDED_LINEAR_OP_BASE_HPP
11 #define THYRA_ADDED_LINEAR_OP_BASE_HPP
13 #include "Thyra_LinearOpBase.hpp"
40 template<
class Scalar>
52 virtual int numOps()
const = 0;
62 virtual bool opIsConst(
const int k)
const = 0;
91 #endif // THYRA_ADDED_LINEAR_OP_BASE_HPP
Interface class for implicitly added linear operators.
virtual int numOps() const =0
Returns the number of constituent operators.
virtual bool opIsConst(const int k) const =0
Determine if the kth constituent operator is const-only or not.
Base class for all 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.