42 #ifndef THYRA_DEFAULT_ZERO_LINEAR_OP_DECL_HPP
43 #define THYRA_DEFAULT_ZERO_LINEAR_OP_DECL_HPP
45 #include "Thyra_ZeroLinearOpBase.hpp"
46 #include "Thyra_RowStatLinearOpBase.hpp"
47 #include "Thyra_ScaledLinearOpBase.hpp"
48 #include "Teuchos_ConstNonconstObjectContainer.hpp"
70 template<
class Scalar>
175 const RowStatLinearOpBaseUtils::ERowStat rowStat)
const;
179 const RowStatLinearOpBaseUtils::ERowStat rowStat,
221 template<
class Scalar>
222 RCP<const LinearOpBase<Scalar> >
224 const RCP<
const VectorSpaceBase<Scalar> > &range,
225 const RCP<
const VectorSpaceBase<Scalar> > &domain
235 template<
class Scalar>
236 RCP<LinearOpBase<Scalar> >
238 const RCP<
const VectorSpaceBase<Scalar> > &range,
239 const RCP<
const VectorSpaceBase<Scalar> > &domain
246 #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