OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
Util::KahanAccumulation Struct Reference

#include <Util.h>

Collaboration diagram for Util::KahanAccumulation:
Collaboration graph

Public Member Functions

 KahanAccumulation ()
 
KahanAccumulationoperator+= (double value)
 

Public Attributes

long double sum
 
long double correction
 

Detailed Description

Definition at line 204 of file Util.h.

Constructor & Destructor Documentation

◆ KahanAccumulation()

Util::KahanAccumulation::KahanAccumulation ( )

Definition at line 201 of file Util.cpp.

Member Function Documentation

◆ operator+=()

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

Definition at line 203 of file Util.cpp.

References correction, and sum.

Member Data Documentation

◆ correction

long double Util::KahanAccumulation::correction

Definition at line 206 of file Util.h.

Referenced by operator+=().

◆ sum

long double Util::KahanAccumulation::sum

Definition at line 205 of file Util.h.

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


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