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"
68 this->initialize(op_in);
89 if (!is_null(op_out)) *op_out = op_;
104template<
class Scalar>
113 dots(X, *T, scalarProds_out);
117template<
class Scalar>
Base class for all linear operators.
virtual RCP< const VectorSpaceBase< Scalar > > range() const =0
Return a smart pointer for the range space for this operator.
virtual RCP< const VectorSpaceBase< Scalar > > domain() const =0
Return a smart pointer for the domain space for this operator.
void scalarProdsImpl(const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds_out) const
RCP< const LinearOpBase< Scalar > > getLinearOpImpl() const
void uninitialize(const Ptr< RCP< const LinearOpBase< Scalar > > > &op=Teuchos::null)
void initialize(const RCP< const LinearOpBase< Scalar > > &op)
virtual bool isEuclideanImpl() const
Returns false.
Interface for a collection of column vectors called a multi-vector.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
@ NOTRANS
Use the non-transposed operator.
T_To & dyn_cast(T_From &from)