|
|
|
|
|
by _bxg1
2648 days ago
|
|
What about a "reduce" technique? Average the numbers in equal-sized chunks, then average those averages. You could even chunk the chunk averages and repeat the process as many levels down as you want to, and chunks could be as small as 2 each. I guess this still assumes that the largest number in the original list is less than or equal to the maximum floating point value, but otherwise you stay roughly in the same space of precision as the original data. |
|
https://en.wikipedia.org/wiki/Pairwise_summation