10#ifndef THYRA_SCALAR_PROD_BASE_DECL_HPP 
   11#define THYRA_SCALAR_PROD_BASE_DECL_HPP 
   13#include "Thyra_OperatorVectorTypes.hpp" 
   14#include "Teuchos_Describable.hpp" 
Interface for a collection of column vectors called a multi-vector.
 
Abstract interface for scalar products.
 
Scalar scalarProd(const VectorBase< Scalar > &x, const VectorBase< Scalar > &y) const
Return the scalar product of two vectors in the vector space.
 
bool isEuclidean() const
Return if this is a Euclidean (identity) scalar product is the same as the dot product.
 
virtual Scalar scalarProdImpl(const VectorBase< Scalar > &x, const VectorBase< Scalar > &y) const
Default implementation calls scalarProdsImpl().
 
virtual bool isEuclideanImpl() const =0
 
virtual RCP< const LinearOpBase< Scalar > > getLinearOpImpl() const
 
virtual void scalarProdsImpl(const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds_out) const =0
 
RCP< const LinearOpBase< Scalar > > getLinearOp() const
Return a linear operator representing the scalar product Q.
 
void scalarProds(const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds_out) const
Return the scalar product of each column in two multi-vectors in the vector space.
 
Abstract interface for finite-dimensional dense vectors.
 
T_To & dyn_cast(T_From &from)