42 #ifndef THYRA_DEFAULT_MULTIPLIED_LINEAR_OP_DECL_HPP
43 #define THYRA_DEFAULT_MULTIPLIED_LINEAR_OP_DECL_HPP
45 #include "Thyra_MultipliedLinearOpBase.hpp"
46 #include "Teuchos_ConstNonconstObjectContainer.hpp"
119 template<
class Scalar>
264 inline void assertInitialized()
const;
265 inline std::string getClassName()
const;
266 inline Ordinal getRangeDim()
const;
267 inline Ordinal getDomainDim()
const;
270 void setupDefaultObjectLabel();
283 template<
class Scalar>
296 template<
class Scalar>
301 dmlo->initialize(Ops);
310 template<
class Scalar>
315 dmlo->initialize(Ops);
325 template<
class Scalar>
330 const std::string &M_label =
""
339 template<
class Scalar>
344 const std::string &M_label =
""
353 template<
class Scalar>
359 const std::string &M_label =
""
366 #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...