OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Public Attributes | List of all members
Util::KahanAccumulation Struct Reference

#include <Util.h>

Public Member Functions

 KahanAccumulation ()
 
KahanAccumulationoperator+= (double value)
 

Public Attributes

long double sum
 
long double correction
 

Detailed Description

Definition at line 169 of file Util.h.

Constructor & Destructor Documentation

Util::KahanAccumulation::KahanAccumulation ( )

Definition at line 137 of file Util.cpp.

Member Function Documentation

KahanAccumulation & Util::KahanAccumulation::operator+= ( double  value)

Definition at line 143 of file Util.cpp.

References correction, and sum.

Member Data Documentation

long double Util::KahanAccumulation::correction

Definition at line 172 of file Util.h.

Referenced by operator+=().

long double Util::KahanAccumulation::sum

Definition at line 171 of file Util.h.

Referenced by LossDataSink::computeSetStatistics(), and operator+=().


The documentation for this struct was generated from the following files: