|
GLAMERDOC++
Gravitational Lensing Code Library
|
class for adding large amounts of numbers with less error than the simple sum More...
#include <utilities_slsim.h>
Public Member Functions | |
| SUMMER (size_t batchsize) | |
| void | operator+= (T x) |
| add another number | |
| T | operator* () |
| returns the current total | |
| void | reset () |
| reset to start over, frees memory | |
| size_t | total_number () |
| returns the number of numbers that have been added | |
class for adding large amounts of numbers with less error than the simple sum
1.8.18