Histogram.FindBin<T> Method

Finds the interval that contains the given value.


Namespace: Extreme.DataAnalysis
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>


histogram  Histogram<Interval<T>>
A histogram.
value  T
The value to find.

Type Parameters


Return Value

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).


Use this method to find the Interval<T> that contains the specified value.

See Also