Histogram(Int32) Constructor

Creates a histogram with the given number of bins.

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public Histogram(
	int binCount
)

Parameters

binCount  Int32
The number of bins.

Remarks

By default, the bin borders are the integers, i.e. values in [0, 1) fall into bin 0, values in [1, 2) fall into bin 1, etc.

Exceptions

ArgumentOutOfRangeExceptionbinCount is less than 1.

See Also