Data.Scans.ScanPoint.Mean C# (CSharp) Method

Mean() private method

private Mean ( ArrayList shots, int index ) : double
shots System.Collections.ArrayList
index int
return double
        private double Mean(ArrayList shots, int index)
        {
            double temp = 0;
            foreach (Shot s in shots) temp += s.Mean(index);
            return temp / shots.Count;
        }