Histogram.Find Bin<T> Method
Finds the interval that contains the given value.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A Interval<T> structure that contains the given value. An exception is thrown if the value is out of bounds.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Interval<T> FindBin<T>(
this Histogram<Interval<T>> histogram,
T value
)
where T : Object, IComparable<T>
Parameters
Type Parameters
- T
Return Value
Interval<T>A Interval<T> structure that contains the given value. An exception is thrown if the value is out of bounds.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Histogram<Interval<T>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
Use this method to find the Interval<T> that contains the specified value.