def recursive_index_decode(int_array, max=<NUM_LIT>, min=-<NUM_LIT>):
out_arr = []<EOL>decoded_val = <NUM_LIT:0><EOL>for item in int_array.tolist():<EOL><INDENT>if item==max or item==min:<EOL><INDENT>decoded_val += item<EOL><DEDENT>else:<EOL><INDENT>decoded_val += item<EOL>out_arr.append(decoded_val)<EOL>decoded_val = <NUM_LIT:0><EOL><DEDENT><DEDENT>return numpy.asarray(out_arr,dtype=numpy.int32)<EOL>
Unpack an array of integers using recursive indexing.

    :param int_array: the input array of integers
    :param max: the maximum integer size
    :param min: the minimum integer size
    :return the array of integers after recursive index decoding