ndxarray
Forgiving array indexing
Syntax
Usage
ndxarray returns the value at the index in an array. Indices wrap around the array length, so no index is 'out of bounds'.
negative indices count backwards from the end of the array.
Outputs and arguments
i/kval -- Output element returned from the index position of the array.
i/kArr[] -- input array
i/kndx -- index in the array to retrieve the value. Can be fractional, greater than lenarray(iArr), and negative.
Fractional indices are floored. Negative indices count from the end of the array at -1.