10 #ifndef THYRA_MULTI_VECTOR_ADAPTER_BASE_DEF_HPP
11 #define THYRA_MULTI_VECTOR_ADAPTER_BASE_DEF_HPP
13 #include "Thyra_MultiVectorAdapterBase_decl.hpp"
14 #include "Thyra_ScalarProdVectorSpaceBase.hpp"
15 #include "Thyra_ScalarProdBase.hpp"
24 template<
class Scalar>
25 RCP<const VectorSpaceBase<Scalar> >
28 return rangeScalarProdVecSpc();
32 template<
class Scalar>
36 return domainScalarProdVecSpc();
43 template<
class Scalar>
52 template<
class Scalar>
72 ? domainScalarProdVecSpc()
73 : rangeScalarProdVecSpc() );
75 if (scalarProd->isEuclidean()) {
77 this->euclideanApply(M_trans, X, Y, alpha, beta);
82 ::Thyra::apply(*scalarProd->getLinearOp(),
NOTRANS, X, T.
ptr());
84 this->euclideanApply(M_trans, *T, Y, alpha, beta);
92 #endif // THYRA_MULTI_VECTOR_ADAPTER_BASE_DEF_HPP
RCP< const VectorSpaceBase< Scalar > > domain() const
Returns this->domainScalarProdVecSpc()
void applyImpl(const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, const Ptr< MultiVectorBase< Scalar > > &Y, const Scalar alpha, const Scalar beta) const
virtual RCP< const VectorSpaceBase< Scalar > > range() const =0
Return a smart pointer for the range space for this operator.
EOpTransp
Enumeration for determining how a linear operator is applied. `*.
Use the non-transposed operator.
EOpTransp real_trans(EOpTransp transp)
Return NOTRANS or TRANS for real scalar valued operators and this also is used for determining struct...
Use the transposed operator with complex-conjugate clements (same as TRANS for real scalar types)...
Interface for a collection of column vectors called a multi-vector.
bool opSupportedImpl(EOpTransp M_trans) const
virtual RCP< const VectorSpaceBase< Scalar > > domain() const =0
Return a smart pointer for the domain space for this operator.
RCP< const VectorSpaceBase< Scalar > > range() const
Returns this->rangeScalarProdVecSpc()