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).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode |
Provides a hash code for this bucket.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Formats a human-readable string for this bucket.
(Overrides ObjectToString.) |