42 #ifndef THYRA_LINEAR_OP_SCALAR_PROD_DEF_HPP
43 #define THYRA_LINEAR_OP_SCALAR_PROD_DEF_HPP
45 #include "Thyra_LinearOpScalarProd_decl.hpp"
46 #include "Thyra_ScalarProdBase.hpp"
47 #include "Thyra_LinearOpBase.hpp"
48 #include "Thyra_MultiVectorStdOps.hpp"
49 #include "Thyra_MultiVectorBase.hpp"
50 #include "Thyra_VectorSpaceBase.hpp"
59 template<
class Scalar>
64 template<
class Scalar>
68 this->initialize(op_in);
72 template<
class Scalar>
84 template<
class Scalar>
89 if (!
is_null(op_out)) *op_out = op_;
97 template<
class Scalar>
104 template<
class Scalar>
113 dots(X, *T, scalarProds_out);
117 template<
class Scalar>
128 #endif // THYRA_LINEAR_OP_SCALAR_PROD_DEF_HPP
void scalarProdsImpl(const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds_out) const
bool is_null(const boost::shared_ptr< T > &p)
virtual RCP< const VectorSpaceBase< Scalar > > range() const =0
Return a smart pointer for the range space for this operator.
RCP< const LinearOpBase< Scalar > > getLinearOpImpl() const
Use the non-transposed operator.
Interface for a collection of column vectors called a multi-vector.
void initialize(const RCP< const LinearOpBase< Scalar > > &op)
virtual bool isEuclideanImpl() const
Returns false.
Base class for all linear operators.
void uninitialize(const Ptr< RCP< const LinearOpBase< Scalar > > > &op=Teuchos::null)
virtual RCP< const VectorSpaceBase< Scalar > > domain() const =0
Return a smart pointer for the domain space for this operator.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)