Thyra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
Thyra::EuclideanScalarProd< Scalar > Class Template Reference

Concrete implementation of a scalar product for a Euclidean vector space (i.e. using the dot product). More...

#include <Thyra_EuclideanScalarProd_decl.hpp>

Inheritance diagram for Thyra::EuclideanScalarProd< Scalar >:
Inheritance graph
[legend]

Overridden from ScalarProdBase

virtual bool isEuclideanImpl () const
 Returns true. More...
 
virtual void scalarProdsImpl (const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds) const
 Simply calls dots(X,Y,scalar_prods). More...
 

Detailed Description

template<class Scalar>
class Thyra::EuclideanScalarProd< Scalar >

Concrete implementation of a scalar product for a Euclidean vector space (i.e. using the dot product).

Because this subclass is implemented using an RTOp, it will work with any VectorBase or MultiVectorBase implementation no matter what.

Definition at line 29 of file Thyra_EuclideanScalarProd_decl.hpp.

Member Function Documentation

template<class Scalar >
bool Thyra::EuclideanScalarProd< Scalar >::isEuclideanImpl ( ) const
protectedvirtual

Returns true.

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 22 of file Thyra_EuclideanScalarProd_def.hpp.

template<class Scalar >
void Thyra::EuclideanScalarProd< Scalar >::scalarProdsImpl ( const MultiVectorBase< Scalar > &  X,
const MultiVectorBase< Scalar > &  Y,
const ArrayView< Scalar > &  scalarProds 
) const
protectedvirtual

Simply calls dots(X,Y,scalar_prods).

Implements Thyra::ScalarProdBase< Scalar >.

Reimplemented in Thyra::TpetraEuclideanScalarProd< Scalar, LocalOrdinal, GlobalOrdinal, Node >.

Definition at line 29 of file Thyra_EuclideanScalarProd_def.hpp.


The documentation for this class was generated from the following files: