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" 
  215  void allocateVecs(
const Ordinal dim) 
const;
 
  233  mutable std::vector<Teuchos::RCP<MultiVectorBase<Scalar> > > T_k_;
 
  235  inline void assertInitialized() 
const;
 
  236  inline std::string getClassName() 
const;
 
  237  inline Ordinal getRangeDim() 
const;
 
  238  inline Ordinal getDomainDim() 
const;
 
  241  void setupDefaultObjectLabel();
 
 
  254template<
class Scalar>
 
  267template<
class Scalar>
 
  272  dmlo->initialize(Ops);
 
 
  281template<
class Scalar>
 
  286  dmlo->initialize(Ops);
 
 
  296template<
class Scalar>
 
  301  const std::string &M_label = 
"" 
  310template<
class Scalar>
 
  315  const std::string &M_label = 
"" 
  324template<
class Scalar>
 
  330  const std::string &M_label = 
"" 
Concrete composite LinearOpBase subclass that creates an implicitly multiplied linear operator out of...
 
RCP< LinearOpBase< Scalar > > nonconstMultiply(const RCP< LinearOpBase< Scalar > > &A, const RCP< LinearOpBase< Scalar > > &B, const std::string &M_label="")
Form an implicit multiplication of two linear operators: M = A.
 
bool opIsConst(const int k) const
 
RCP< const LinearOpBase< Scalar > > getOp(const int k) const
 
void uninitialize()
Set to uninitialized.
 
RCP< DefaultMultipliedLinearOp< Scalar > > defaultMultipliedLinearOp(const ArrayView< const RCP< const LinearOpBase< Scalar > > > &Ops)
Nonmember constructor.
 
void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
Prints the details about the constituent linear operators.
 
RCP< const VectorSpaceBase< Scalar > > range() const
Returns this->getOp(0).range() if <t>this->numOps() > 0 and returns Teuchos::null otherwise.
 
void initialize(const ArrayView< const RCP< LinearOpBase< Scalar > > > &Ops)
Initialize given a list of non-const linear operators.
 
DefaultMultipliedLinearOp()
Constructs to uninitialized.
 
RCP< const VectorSpaceBase< Scalar > > domain() const
Returns this->getOp(this->numOps()-1).domain() if <t>this->numOps() > 0 and returns Teuchos::null oth...
 
std::string description() const
Prints just the name DefaultMultipliedLinearOp along with the overall dimensions and the number of co...
 
RCP< const LinearOpBase< Scalar > > clone() const
 
RCP< DefaultMultipliedLinearOp< Scalar > > defaultMultipliedLinearOp()
Nonmember constructor.
 
RCP< LinearOpBase< Scalar > > getNonconstOp(const int k)
 
RCP< const LinearOpBase< Scalar > > multiply(const RCP< const LinearOpBase< Scalar > > &A, const RCP< const LinearOpBase< Scalar > > &B, const RCP< const LinearOpBase< Scalar > > &C, const std::string &M_label="")
Form an implicit multiplication of three linear operators: M = A * B * C.
 
bool opSupportedImpl(EOpTransp M_trans) const
Returns true only if all constituent operators support M_trans.
 
RCP< const LinearOpBase< Scalar > > multiply(const RCP< const LinearOpBase< Scalar > > &A, const RCP< const LinearOpBase< Scalar > > &B, const std::string &M_label="")
Form an implicit multiplication of two linear operators: M = A.
 
RCP< DefaultMultipliedLinearOp< Scalar > > defaultMultipliedLinearOp(const ArrayView< const RCP< LinearOpBase< Scalar > > > &Ops)
Nonmember constructor.
 
void applyImpl(const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
 
Base class for all linear operators.
 
Interface for a collection of column vectors called a multi-vector.
 
Interface class for implicitly multiplied linear operators.
 
EOpTransp
Enumeration for determining how a linear operator is applied. `*.
 
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
 
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)