Delegate PutKernel
IL-emitted scatter kernel for np.put. Writes
dst[apply_mode(indices[i])] = values[i % valuesCount] for each
i in [0, indicesCount).
public delegate long PutKernel(byte* dst, long* indices, long indicesCount, byte* values, long valuesCount, long maxItem, long elemBytes, int mode)
Parameters
dstbyte*- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
indiceslong*- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
indicesCountlong- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
valuesbyte*- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
valuesCountlong- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
maxItemlong- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
elemByteslong- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
modeint- IL-emitted scatter kernel for np.put. Writes dst[apply_mode(indices[i])] = values[i % valuesCount] for each i in [0, indicesCount).
Returns
- long
indicesCounton success. On RAISE OOB the row index of the first failing entry; the caller readsindices[returned]for the diagnostic.
- Extension Methods