Accord.Statistics.Visualizations.Histogram.Update C# (CSharp) Method

Update() public method

Update statistical value of the histogram.
The method recalculates statistical values of the histogram, like mean, standard deviation, etc., in the case if histogram's values were changed directly. The method should be called only in the case if histogram's values were retrieved through Values property and updated after that.
public Update ( ) : void
return void
        public void Update()
        {
            mean = null;
            stdDev = null;
            median = null;
            min = null;
            max = null;
            total = null;
        }