10 #ifndef THYRA_DEFAULT_ZERO_LINEAR_OP_DECL_HPP
11 #define THYRA_DEFAULT_ZERO_LINEAR_OP_DECL_HPP
13 #include "Thyra_ZeroLinearOpBase.hpp"
14 #include "Thyra_RowStatLinearOpBase.hpp"
15 #include "Thyra_ScaledLinearOpBase.hpp"
16 #include "Teuchos_ConstNonconstObjectContainer.hpp"
38 template<
class Scalar>
143 const RowStatLinearOpBaseUtils::ERowStat rowStat)
const;
147 const RowStatLinearOpBaseUtils::ERowStat rowStat,
189 template<
class Scalar>
190 RCP<const LinearOpBase<Scalar> >
192 const RCP<
const VectorSpaceBase<Scalar> > &range,
193 const RCP<
const VectorSpaceBase<Scalar> > &domain
203 template<
class Scalar>
204 RCP<LinearOpBase<Scalar> >
206 const RCP<
const VectorSpaceBase<Scalar> > &range,
207 const RCP<
const VectorSpaceBase<Scalar> > &domain
214 #endif // THYRA_DEFAULT_ZERO_LINEAR_OP_DECL_HPP
void uninitialize()
Set to uninitialized.
virtual bool rowStatIsSupportedImpl(const RowStatLinearOpBaseUtils::ERowStat rowStat) const
EOpTransp
Enumeration for determining how a linear operator is applied. `*.
virtual void getRowStatImpl(const RowStatLinearOpBaseUtils::ERowStat rowStat, const Teuchos::Ptr< VectorBase< Scalar > > &rowStatVec) const
RCP< const VectorSpaceBase< Scalar > > domain() const
Returns Teuchos::null if uninitialized.
Interface class for zero linear operators.
Abstract interface for objects that represent a space for vectors.
bool opSupportedImpl(EOpTransp M_trans) const
Returns true .
RCP< const LinearOpBase< Scalar > > clone() const
Interface for a collection of column vectors called a multi-vector.
DefaultZeroLinearOp()
Construct to uninitialized.
Abstract interface for finite-dimensional dense vectors.
virtual bool supportsScaleRightImpl() const
virtual void scaleRightImpl(const VectorBase< Scalar > &)
virtual bool supportsScaleLeftImpl() const
Applies left or right sclaing to the linear operator.
RCP< const VectorSpaceBase< Scalar > > range() const
Returns Teuchos::null if uninitialized.
Interface for exxtracting row statistics as a VectorBase from a supporting LinearOpBase object...
Represents a zero linear operator M = 0.
virtual void scaleLeftImpl(const VectorBase< Scalar > &)
std::string description() const
Prints just the name DefaultZeroLinearOp along with the overall dimensions.
void initialize(const RCP< const VectorSpaceBase< Scalar > > &range, const RCP< const VectorSpaceBase< Scalar > > &domain)
Initialize given a list of non-const linear operators.
void applyImpl(const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const