Interval Index<T>.Lookup Method
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Lookup( | Maps a sequence of keys to their position in the index. |
Lookup( | Gets the indexes of the intervals containing a set of values. |
Lookup( | Maps the specified key to its position in the index. |
Lookup( | Gets the index of the interval containing a value. |
Lookup(IList<T>)
Gets the indexes of the intervals containing a set of values.
public int[] Lookup(
IList<T> values
)
Parameters
Return Value
Int32[]An integer array containing for each element in values the zero-based index of the interval containing it.
Exceptions
Argument | values is null. |
Lookup(T)
Gets the index of the interval containing a value.
public int Lookup(
T value
)
Parameters
- value T
- The value to find.
Return Value
Int32The zero-based index of the interval containing value.