Thyra::EuclideanScalarProd< Scalar > Class Template Reference
[Basic Support Subclasses Abstracting Application-Specific Scalar Products]

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 48 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 41 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 48 of file Thyra_EuclideanScalarProd_def.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:26:38 2010 for Thyra by  doxygen 1.4.7