Standard deviation of generic list? [duplicate]
This question already has an answer here: How do I determine the standard deviation (stddev) of a set of values? 12 answers Standard Deviation in LINQ 6 answers I need to calculate the standard deviation of a generic list. I will try to include my code. Its a generic list with data in it. The data is mostly floats and ints. Here is my code that is relative to it without getting into to much detail: namespace ValveTesterInterface { public class ValveDataResults { private List<ValveData> m_ValveResults; public ValveDataResults() { if (m_ValveResults == null) { m_ValveResults = new List<ValveData