Type Bucket
Namespace MathNet.Numerics.Statistics
Interfaces IComparable<Bucket>, ICloneable
This type declares a DataContract for out of the box ephemeral serialization with engines like DataContractSerializer, Protocol Buffers and FsPickler, but does not guarantee any compatibility between versions. It is not recommended to rely on this mechanism for durable persistence.
double targetValueValue to look for
objectA cloned Bucket object.
int0 if UpperBound and LowerBound are bit-for-bit equal
1 if This bucket is lower that the compared bucket
-1 otherwise
double xThe point to check.
int0 if the point falls within the bucket boundaries; -1 if the point is smaller than the bucket, +1 if the point is larger than the bucket.
UpperBoundandLowerBoundare compared bit-for-bit, but This method tolerates a difference inCountgiven by .
Value may be NaN if this was constructed as a IComparer`1 argument.