10 #ifndef THYRA_DEFAULT_MULTIPLIED_LINEAR_OP_DECL_HPP
11 #define THYRA_DEFAULT_MULTIPLIED_LINEAR_OP_DECL_HPP
13 #include "Thyra_MultipliedLinearOpBase.hpp"
14 #include "Teuchos_ConstNonconstObjectContainer.hpp"
87 template<
class Scalar>
232 inline void assertInitialized()
const;
233 inline std::string getClassName()
const;
234 inline Ordinal getRangeDim()
const;
235 inline Ordinal getDomainDim()
const;
238 void setupDefaultObjectLabel();
251 template<
class Scalar>
264 template<
class Scalar>
269 dmlo->initialize(Ops);
278 template<
class Scalar>
283 dmlo->initialize(Ops);
293 template<
class Scalar>
298 const std::string &M_label =
""
307 template<
class Scalar>
312 const std::string &M_label =
""
321 template<
class Scalar>
327 const std::string &M_label =
""
334 #endif // THYRA_DEFAULT_MULTIPLIED_LINEAR_OP_DECL_HPP
EOpTransp
Enumeration for determining how a linear operator is applied. `*.
RCP< const VectorSpaceBase< Scalar > > domain() const
Returns this->getOp(this->numOps()-1).domain() if <t>this->numOps() > 0 and returns Teuchos::null oth...
DefaultMultipliedLinearOp()
Constructs to uninitialized.
bool opIsConst(const int k) const
RCP< DefaultMultipliedLinearOp< Scalar > > defaultMultipliedLinearOp(const ArrayView< const RCP< const LinearOpBase< Scalar > > > &Ops)
Nonmember constructor.
void uninitialize()
Set to uninitialized.
RCP< DefaultMultipliedLinearOp< Scalar > > defaultMultipliedLinearOp()
Nonmember constructor.
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
Prints the details about the constituent linear operators.
void initialize(const ArrayView< const RCP< LinearOpBase< Scalar > > > &Ops)
Initialize given a list of non-const linear operators.
Interface class for implicitly multiplied linear operators.
bool opSupportedImpl(EOpTransp M_trans) const
Returns true only if all constituent operators support M_trans.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
Interface for a collection of column vectors called a multi-vector.
RCP< const LinearOpBase< Scalar > > clone() const
RCP< LinearOpBase< Scalar > > getNonconstOp(const int k)
Concrete composite LinearOpBase subclass that creates an implicitly multiplied linear operator out of...
RCP< DefaultMultipliedLinearOp< Scalar > > defaultMultipliedLinearOp(const ArrayView< const RCP< LinearOpBase< Scalar > > > &Ops)
Nonmember constructor.
Base class for all linear operators.
std::string description() const
Prints just the name DefaultMultipliedLinearOp along with the overall dimensions and the number of co...
void applyImpl(const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
RCP< const LinearOpBase< Scalar > > getOp(const int k) const
RCP< const VectorSpaceBase< Scalar > > range() const
Returns this->getOp(0).range() if <t>this->numOps() > 0 and returns Teuchos::null otherwise...