Functions for taking the mean and standard deviation of an array of numbers?
I've been thinking about how to help Arduino users do more sophisticated analysis of their sensor data and this seems like a simple thing that could help with a bunch of things. There are some existing libraries for this (e.g. http://playground.arduino.cc/Main/Average) but it seems like mean() and standardDeviation() are common enough to be worth including in the core. What do you think?
Personally I don't think they would, but maybe they would make sense as part of a statistical library (maybe a standard library with official support rather than a third party one; I don't know if the Arduino developers would be up for that.) I think those two functions are simply too easy to implement for individual projects (just a for loop and a division) and not common enough to be included in the main Arduino core, which aims to be small.