Accord.Statistics.Measures.HistogramMin C# (CSharp) Method

HistogramMin() public static method

Gets the minimum value in the histogram.
public static HistogramMin ( this values ) : int
values this Histogram array.
return int
        public static int HistogramMin(this int[] values)
        {
            int min = values.Length;

            for (int i = 0; i < values.Length; i++)
                if (i < min)
                    min = i;

            return min;
        }