![]() |
KASKADE 7 development version
|
A symmetric operator represented by a matrix. More...
#include <symmetricOperators.hh>
Public Types | |
| typedef X::field_type | field_type |
Public Member Functions | |
| SymmetricMatrixOperator (Matrix const &A_) | |
| Constructor. | |
| virtual void | apply (X const &x, X &y) const override |
| virtual void | applyscaleadd (field_type alpha, X const &x, X &y) const override |
| virtual field_type | applyDp (X const &x, X &y) const override |
| operator application Computes \( y \leftarrow Ax \) and returns the dual pairing \( \langle x,y \rangle \). | |
| virtual field_type | dp (X const &x, X const &y) const override |
| returns the dual pairing \( \langle x, y \rangle \) with respect to which the operator is symmetric | |
| virtual Dune::SolverCategory::Category | category () const override |
| returns the category of the operator | |
A symmetric operator represented by a matrix.
Definition at line 109 of file symmetricOperators.hh.
| typedef X::field_type Kaskade::SymmetricMatrixOperator< X, Matrix >::field_type |
Definition at line 112 of file symmetricOperators.hh.
|
inline |
Constructor.
| A | the (symmetric) matrix to be wrapped in a SymmetricLinearOperator interface. The matrix has to exist during the lifetime of the wrapper, as only a reference is held. |
Definition at line 120 of file symmetricOperators.hh.
|
inlineoverridevirtual |
Definition at line 124 of file symmetricOperators.hh.
|
inlineoverridevirtual |
operator application Computes \( y \leftarrow Ax \) and returns the dual pairing \( \langle x,y \rangle \).
Reimplemented from Kaskade::SymmetricLinearOperator< X, X >.
Definition at line 138 of file symmetricOperators.hh.
|
inlineoverridevirtual |
Definition at line 129 of file symmetricOperators.hh.
|
inlineoverridevirtualinherited |
returns the category of the operator
From the Dune doxygen documentation it is unclear what this is supposed to mean. We return a dummy here.
Definition at line 98 of file symmetricOperators.hh.
|
inlineoverridevirtual |
returns the dual pairing \( \langle x, y \rangle \) with respect to which the operator is symmetric
Implements Kaskade::SymmetricLinearOperator< X, X >.
Definition at line 147 of file symmetricOperators.hh.
Referenced by applyDp().