Thyra Version of the Day
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]

List of all members.

Overridden from ScalarProdBase

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

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 61 of file Thyra_EuclideanScalarProd_decl.hpp.


Member Function Documentation

template<class Scalar >
bool Thyra::EuclideanScalarProd< Scalar >::isEuclideanImpl ( ) const [protected, virtual]

Returns true.

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 54 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 [protected, virtual]

Simply calls dots(X,Y,scalar_prods).

Implements Thyra::ScalarProdBase< Scalar >.

Definition at line 61 of file Thyra_EuclideanScalarProd_def.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines