Thyra
Version of the Day
|
Concrete implementation of a scalar product for a Euclidean vector space (i.e. using the dot product). More...
#include <Thyra_EuclideanScalarProd_decl.hpp>
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... | |
Additional Inherited Members | |
![]() | |
bool | isEuclidean () const |
Return if this is a Euclidean (identity) scalar product is the same as the dot product. More... | |
Scalar | scalarProd (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y) const |
Return the scalar product of two vectors in the vector space. More... | |
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. More... | |
RCP< const LinearOpBase< Scalar > > | getLinearOp () const |
Return a linear operator representing the scalar product Q . More... | |
![]() | |
virtual Scalar | scalarProdImpl (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y) const |
Default implementation calls scalarProdsImpl(). More... | |
virtual RCP< const LinearOpBase< Scalar > > | getLinearOpImpl () const |
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.
|
protectedvirtual |
Returns true
.
Implements Thyra::ScalarProdBase< Scalar >.
Definition at line 54 of file Thyra_EuclideanScalarProd_def.hpp.
|
protectedvirtual |
Simply calls dots(X,Y,scalar_prods)
.
Implements Thyra::ScalarProdBase< Scalar >.
Definition at line 61 of file Thyra_EuclideanScalarProd_def.hpp.