// Token: 0x060004DC RID: 1244 RVA: 0x0001E9E0 File Offset: 0x0001CBE0 private static StatisticalDataHistogram[] CreateHistogramForTimeFrames(TimeFrame[] timeFrames, int bucketsCount) { StatisticalDataHistogram[] array = new StatisticalDataHistogram[timeFrames.Length]; for (int i = 0; i < timeFrames.Length; i++) { array[i] = new StatisticalDataHistogram(timeFrames[i], bucketsCount); } return(array); }
private static StatisticalDataHistogram[] CreateHistogramForTimeFrames( TimeFrame[] timeFrames, int bucketsCount) { StatisticalDataHistogram[] statisticalDataHistogramArray = new StatisticalDataHistogram[timeFrames.Length]; for (int index = 0; index < timeFrames.Length; ++index) { statisticalDataHistogramArray[index] = new StatisticalDataHistogram(timeFrames[index], bucketsCount); } return(statisticalDataHistogramArray); }
private static void IncrementPointFrequency(StatisticalDataHistogram histograms, double value) { for (int index = 0; index < histograms.get_DataPoints().Length; ++index) { if (histograms.get_DataPoints()[index].get_EndValue() >= value) { HistogramDataPoint dataPoint = histograms.get_DataPoints()[index]; dataPoint.set_Frequency(dataPoint.get_Frequency() + 1U); break; } } }
// Token: 0x060004DA RID: 1242 RVA: 0x0001E94C File Offset: 0x0001CB4C private static void IncrementPointFrequency(StatisticalDataHistogram histograms, double value) { for (int i = 0; i < histograms.DataPoints.Length; i++) { if (histograms.DataPoints[i].EndValue >= value) { HistogramDataPoint histogramDataPoint = histograms.DataPoints[i]; uint frequency = histogramDataPoint.Frequency; histogramDataPoint.Frequency = frequency + 1U; return; } } }