I have used the 'mean' function on GSL which proved to be more accurate than my naive implementation. I haven't found a 'sum' function though, I'm using 'mean'*N instead, but I think it would be cleaner if I use a proper summing function.
I'm summing a huge quantity of numbers, I and was wondering this to avoid if possible implementing a stable summing algorithm.
Thanks in advance.