cyjax.util.pop#
- cyjax.util.pop(arr, index)#
Pop value of arr at index in JIT-compatible way.
- Parameters:
arr (
Union
[Array
,ndarray
,bool_
,number
]) – An array.index (
int
) – Remove element at this index,arr[index]
, from the array.
- Return type:
tuple
[Union
[Array
,ndarray
,bool_
,number
],Union
[Array
,ndarray
,bool_
,number
]]- Returns:
A tuple of the removed value and the remaining array.