public double bSearch2({Date[] | double[] | String[]} a, int startIndex, int len, {Date[] | double[] | String[]} v)
Uses binary search to search for a value in an array segment.
This method is the same as
Chart.bSearch except it only searches an array segment beginning from the given index and of the given length.
The index of the value within the array segment. If the value is in between two elements of the array segment, this method returns a non-integer that interpolates the indexes of the two elements. If the value is smaller or larger than all the elements in the array segment, thie method returns the nearest index within the array segment.
© 2022 Advanced Software Engineering Limited. All rights reserved.