#include <ElementGather.hh>
Inheritance diagram for ElementGather:
Public Methods | |
virtual void | gather (double alpha, const IotrVector &x, double beta, IotrVector &y) const=0 |
y = beta * y + alpha * M * x | |
virtual void | gatherThenScale (double alpha, const IotrVector &x, double beta, IotrVector &y, const IotrVector &d) const=0 |
y = D * ( beta * y + alpha * E * x ) | |
virtual void | scatter (double alpha, const IotrVector &x, double beta, IotrVector &y) const=0 |
the other elements untouched | |
virtual void | unionWith (const ElementGather &b, ElementGather *&abunion, ElementGather *&union2a, ElementGather *&union2b) const=0 |
Scales the appropriate elements in x leaving others untouched. |