Dune::MatrixAdapter< M, X, Y > Class Template Reference
[Operator concept]
#include <operators.hh>
Inheritance diagram for Dune::MatrixAdapter< M, X, Y >:

Detailed Description
template<class M, class X, class Y>
class Dune::MatrixAdapter< M, X, Y >
Adapter to turn a matrix into a linear operator.
Adapts a matrix to the assembled linear operator interface
Public Types | |
enum | |
define the category | |
typedef M | matrix_type |
export types | |
typedef X | domain_type |
The type of the domain of the operator. | |
typedef Y | range_type |
The type of the range of the operator. | |
typedef X::field_type | field_type |
The field type of the operator. | |
Public Member Functions | |
MatrixAdapter (const M &A) | |
constructor: just store a reference to a matrix | |
virtual void | apply (const X &x, Y &y) const |
apply operator to x: ![]() | |
virtual void | applyscaleadd (field_type alpha, const X &x, Y &y) const |
apply operator to x, scale and add: ![]() | |
virtual const M & | getmat () const |
get matrix via * |
The documentation for this class was generated from the following file: