Delegate ChooseStridedKernel
Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
public delegate long ChooseStridedKernel(byte** choiceBases, long* choiceStrides, byte* idxBase, long* idxStrides, byte* dstBase, long* shape, long ndim, long totalSize, long nChoices)
Parameters
choiceBasesbyte**- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
choiceStrideslong*- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
idxBasebyte*- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
idxStrideslong*- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
dstBasebyte*- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
shapelong*- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
ndimlong- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
totalSizelong- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
nChoiceslong- Strided np.choose kernel: an odometer over the C-contiguous result; the index and the selected choice are read through their own per-dimension BYTE strides (0 = broadcast).
Returns
- long
totalSizeon success, or the flat position of the first out-of-bounds index (raise mode only).