Uses the integer part of the fractional index or x to index the array. This function uses the fractional part of fractional index or x to linearly interpolate between the values of the indexed element and its adjacent element. The connector pane displays the default data types for this polymorphic function.
![]() |
array of numbers or points can be an array of numbers or an array of points where each point is a cluster of x and y coordinates. If this input is an array of points, the function uses the first element in the cluster (x) to obtain a fractional index by linear interpolation. The function then uses this fractional index to compute the output y value from the second cluster element (y). |
![]() |
If fractional index or x is an integer, this function returns the value of the array at that index. Otherwise, the function uses the fractional part of fractional index or x to linearly interpolate between two array values to compute y value. For example, assume that array of numbers or points has two elements, 1 and 2. If fractional index or x is 0.5, y value is 1.5. If fractional index or x is less than the first x value, y value is the first y value. If fractional index or x is greater than the last x value, y value is the last y value. |
![]() |
y value is the output value of the element at the index in array of numbers or points. |