#include <stablesum.h>
Public Member Functions | |
StableSum ()=default | |
StableSum (double init) | |
void | operator+= (double input) |
void | operator-= (double input) |
operator double () const | |
Private Attributes | |
double | sum = 0 |
double | c = 0 |
Definition at line 50 of file stablesum.h.
|
default |
StableSum | ( | double | init | ) |
Definition at line 57 of file stablesum.h.
operator double | ( | ) | const |
Definition at line 78 of file stablesum.h.
void operator+= | ( | double | input | ) |
Definition at line 59 of file stablesum.h.
References StableSum< T >::sum.
void operator-= | ( | double | input | ) |
Definition at line 73 of file stablesum.h.
|
private |
Definition at line 53 of file stablesum.h.
|
private |
Definition at line 52 of file stablesum.h.