#include <operators.hh>
Abstract base class defining a linear operator , i.e.
and
hold. The simplest solvers just need the application
of the operator.
Public 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 | |
virtual void | apply (const X &x, Y &y) const =0 |
apply operator to x: ![]() | |
virtual void | applyscaleadd (field_type alpha, const X &x, Y &y) const =0 |
apply operator to x, scale and add: ![]() | |
virtual | ~LinearOperator () |
every abstract base class has a virtual destructor |