|
Thyra Version of the Day
|
Concrete implementation of a scalar product using a diagonal vector. More...
#include <Thyra_DiagonalScalarProd_decl.hpp>

Related Functions | |
(Note that these are not member functions.) | |
| template<class Scalar > | |
| RCP< DiagonalScalarProd< Scalar > > | diagonalScalarProd (const RCP< const VectorBase< Scalar > > &s_diag) |
| Nonmember constructor. More... | |
Overridden protected virtual functions from ScalarProdBase | |
| virtual bool | isEuclideanImpl () const |
Returns false. More... | |
| virtual void | scalarProdsImpl (const MultiVectorBase< Scalar > &X, const MultiVectorBase< Scalar > &Y, const ArrayView< Scalar > &scalarProds_out) const |
| RCP< const LinearOpBase< Scalar > > | getLinearOpImpl () const |
Consturctors/Initializers/Accessors | |
| DiagonalScalarProd () | |
| void | initialize (const RCP< const VectorBase< Scalar > > &s_diag) |
Additional Inherited Members | |
Public Member Functions inherited from Thyra::ScalarProdBase< Scalar > | |
| 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... | |
Protected Member Functions inherited from Thyra::ScalarProdBase< Scalar > | |
| virtual Scalar | scalarProdImpl (const VectorBase< Scalar > &x, const VectorBase< Scalar > &y) const |
| Default implementation calls scalarProdsImpl(). More... | |
Concrete implementation of a scalar product using a diagonal vector.
This test class really shows how to create an application-defined scalar product.
Definition at line 62 of file Thyra_DiagonalScalarProd_decl.hpp.
| Thyra::DiagonalScalarProd< Scalar >::DiagonalScalarProd |
Definition at line 62 of file Thyra_DiagonalScalarProd_def.hpp.
| void Thyra::DiagonalScalarProd< Scalar >::initialize | ( | const RCP< const VectorBase< Scalar > > & | s_diag | ) |
Definition at line 67 of file Thyra_DiagonalScalarProd_def.hpp.
|
protectedvirtual |
Returns false.
Implements Thyra::ScalarProdBase< Scalar >.
Definition at line 78 of file Thyra_DiagonalScalarProd_def.hpp.
|
protectedvirtual |
Implements Thyra::ScalarProdBase< Scalar >.
Definition at line 85 of file Thyra_DiagonalScalarProd_def.hpp.
|
protectedvirtual |
Reimplemented from Thyra::ScalarProdBase< Scalar >.
Definition at line 140 of file Thyra_DiagonalScalarProd_def.hpp.
|
related |
Nonmember constructor.
Definition at line 107 of file Thyra_DiagonalScalarProd_decl.hpp.