Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Histogram"/> class.
        /// </summary>
        /// 
        /// <param name="values">Values of the histogram.</param>
        /// <param name="range">Range of random values.</param>
        /// 
        /// <remarks>Values of the integer array are treated as total amount of hits on the
        /// corresponding subranges, which are calculated by splitting the specified range into
        /// required amount of consequent ranges (see <see cref="Histogram"/> class
        /// description for more information).
        /// </remarks>
        /// 
        public Histogram(int[] values, FloatRange range)
        {
            this.values = values;
             this.range = range;

             Update();
        }
Exemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="floatSerie"></param>
 /// <param name="range"></param>
 /// <param name="binSize"></param>
 public Histogram(FloatSerie floatSerie, FloatRange range, float binSize)
 {
 }