10 #ifndef THYRA_LINEAR_OP_SCALAR_PROD_DEF_HPP
11 #define THYRA_LINEAR_OP_SCALAR_PROD_DEF_HPP
13 #include "Thyra_LinearOpScalarProd_decl.hpp"
14 #include "Thyra_ScalarProdBase.hpp"
15 #include "Thyra_LinearOpBase.hpp"
16 #include "Thyra_MultiVectorStdOps.hpp"
17 #include "Thyra_MultiVectorBase.hpp"
18 #include "Thyra_VectorSpaceBase.hpp"
27 template<
class Scalar>
32 template<
class Scalar>
40 template<
class Scalar>
52 template<
class Scalar>
57 if (!
is_null(op_out)) *op_out = op_;
65 template<
class Scalar>
72 template<
class Scalar>
81 dots(X, *T, scalarProds_out);
85 template<
class Scalar>
96 #endif // THYRA_LINEAR_OP_SCALAR_PROD_DEF_HPP
void initialize(int *argc, char ***argv)
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)