Maths.HistogramBucket

References
public readonly struct Maths.HistogramBucket
Represents a single bucket in a histogram.

Constructors

HistogramBucket

#
public HistogramBucket(double lower, double upper, int count)
Create a new bucket.
lower (double)Lower limit.
upper (double)Upper limit.
count (int)Count.

Properties

Count

#
public int Count { get; }
Gets the number of samples in this bucket.

Lower

#
public double Lower { get; }
Gets the lower bound for this bucket.

Middle

#
public double Middle { get; }
Gets the middle of the bar.

Upper

#
public double Upper { get; }
Gets the upper bound for this bucket.

Width

#
public double Width { get; }
Gets the width of this bucket.