Finds the index of the lower bound of the interval that contains the specfied value.
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16073.0)
public int IndexOf(
Public Function IndexOf (
x As Double
) As Integer
member IndexOf :
x : float -> int
- Type: SystemDouble
A real number.
A number in the range -1 to NumberOfIntervals
If x is less than the lower bound of the first interval,
the value -1 is returned. If x is greater than or equal to the
upper bound of the last interval, the value NumberOfIntervals is returned.
In all other cases, the value returned is the index of the interval whose lower bound is
less than or equal to x, and whose upper bound is strictly greater
Supported in: 6.0, 5.x, 4.x