Adapt binary algorithms so they may be used in DataArrayView reduction operations.
More...
template<class BinaryFunction>
class escript::DataAlgorithmAdapter< BinaryFunction >
Adapt binary algorithms so they may be used in DataArrayView reduction operations.
Description: This functor adapts the given BinaryFunction operation by starting with the given inital value applying this operation to successive values, storing the rolling result in m_currentValue - which can be accessed or reset by getResult and resetResult respectively.