Bucket Class |
Namespace: MathNet.Numerics.Statistics
[SerializableAttribute] public class Bucket : IComparable<Bucket>, ICloneable
The Bucket type exposes the following members.
Name | Description | |
---|---|---|
Bucket(Double) |
Constructs a Bucket that can be used as an argument for a IComparerT
like DefaultPointComparer when performing a Binary search.
| |
Bucket(Double, Double, Double) |
Initializes a new instance of the Bucket class.
|
Name | Description | |
---|---|---|
Count |
The number of datapoints in the bucket.
| |
DefaultPointComparer |
Default comparer.
| |
LowerBound |
Lower Bound of the Bucket.
| |
UpperBound |
Upper Bound of the Bucket.
| |
Width |
Width of the Bucket.
|
Name | Description | |
---|---|---|
Clone |
Creates a copy of the Bucket with the lowerbound, upperbound and counts exactly equal.
| |
CompareTo |
Comparison of two disjoint buckets. The buckets cannot be overlapping.
| |
Contains |
This method check whether a point is contained within this bucket.
| |
Equals |
Checks whether two Buckets are equal.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Provides a hash code for this bucket.
(Overrides ObjectGetHashCode.) | |
ToString |
Formats a human-readable string for this bucket.
(Overrides ObjectToString.) |