42#ifndef THYRA_SCALAR_PROD_BASE_DEF_HPP
43#define THYRA_SCALAR_PROD_BASE_DEF_HPP
45#include "Thyra_ScalarProdBase_decl.hpp"
46#include "Thyra_VectorBase.hpp"
62 return scalarProds_out[0];
virtual Scalar scalarProdImpl(const VectorBase< Scalar > &x, const VectorBase< Scalar > &y) const
Default implementation calls scalarProdsImpl().
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.