dune-istl 3.0-git
|
A linear operator scaling vectors by a scalar value. The scalar value can be changed as it is given in a form decomposed into an immutable and a mutable part. More...
#include <dune/istl/eigenvalue/poweriteration.hh>
Public Types | |
enum | { category = Dune::SolverCategory::sequential } |
typedef X | domain_type |
typedef Y | range_type |
typedef X::field_type | field_type |
Public Member Functions | |
ScalingLinearOperator (field_type immutable_scaling, const field_type &mutable_scaling) | |
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: ![]() | |
Protected Attributes | |
const field_type | immutable_scaling_ |
const field_type & | mutable_scaling_ |
A linear operator scaling vectors by a scalar value. The scalar value can be changed as it is given in a form decomposed into an immutable and a mutable part.
typedef X::field_type Dune::ScalingLinearOperator< X, Y >::field_type |
|
inline |
apply operator to x:
Implements Dune::LinearOperator< X, Y >.
|
inlinevirtual |
apply operator to x, scale and add:
Implements Dune::LinearOperator< X, Y >.
|
protected |
|
protected |