Click or drag to resize
Bucket Class
A Histogram consists of a series of Buckets, each representing a region limited by a lower bound (exclusive) and an upper bound (inclusive).
Inheritance Hierarchy
SystemObject
  MathNet.Numerics.StatisticsBucket

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
[SerializableAttribute]
public class Bucket : IComparable<Bucket>, 
	ICloneable

The Bucket type exposes the following members.

Constructors
  NameDescription
Public methodBucket(Double)
Public methodBucket(Double, Double, Double)
Initializes a new instance of the Bucket class.
Top
Properties
  NameDescription
Public propertyCount
The number of datapoints in the bucket.
Public propertyStatic memberDefaultPointComparer
Default comparer.
Public propertyLowerBound
Lower Bound of the Bucket.
Public propertyUpperBound
Upper Bound of the Bucket.
Public propertyWidth
Width of the Bucket.
Top
Methods
  NameDescription
Public methodClone
Creates a copy of the Bucket with the lowerbound, upperbound and counts exactly equal.
Public methodCompareTo
Comparison of two disjoint buckets. The buckets cannot be overlapping.
Public methodContains
This method check whether a point is contained within this bucket.
Public methodEquals
Checks whether two Buckets are equal.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Provides a hash code for this bucket.
(Overrides ObjectGetHashCode.)
Public methodToString
Formats a human-readable string for this bucket.
(Overrides ObjectToString.)
Top
See Also