AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::KahanSum< T > Class Template Reference

Detailed Description

template<typename T>
class AmpGen::KahanSum< T >

Definition at line 13 of file KahanSum.h.

Public Member Functions

KahanSumoperator+= (const T &var)
operator() () const

Public Attributes

sum = 0.
cor = 0.

Member Function Documentation

◆ operator()()

template<typename T>
T AmpGen::KahanSum< T >::operator() ( ) const
inline

Definition at line 26 of file KahanSum.h.

◆ operator+=()

template<typename T>
KahanSum & AmpGen::KahanSum< T >::operator+= ( const T & var)
inline

Definition at line 16 of file KahanSum.h.

Member Data Documentation

◆ cor

template<typename T>
T AmpGen::KahanSum< T >::cor = 0.

Definition at line 15 of file KahanSum.h.

◆ sum

template<typename T>
T AmpGen::KahanSum< T >::sum = 0.

Definition at line 14 of file KahanSum.h.


The documentation for this class was generated from the following file: