Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

ElementGather Class Reference

Represents a subset of the indices of a vector, and the operation of gathering elements from these indices into another vector. More...

#include <ElementGather.hh>

Inheritance diagram for ElementGather:

IotrRefCount ElementGatherSeq List of all members.

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.


Detailed Description

Represents a subset of the indices of a vector, and the operation of gathering elements from these indices into another vector.


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 10:03:42 2003 for iotr by doxygen1.2.18