AForge.Math.Histogram.Histogram C# (CSharp) Method

Histogram() public method

Initializes a new instance of the Histogram class.

Indexes of the input array are treated as values of stochastic function, but array values are treated as "probabilities" (total amount of hits).

public Histogram ( int values ) : System
values int Values of the histogram.
return System
        public Histogram( int[] values )
        {
            this.values = values;
            Update( );
        }