Table of Contents

Delegate PlaceKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

IL-emitted mask-driven scatter for np.place. For each i in [0, maskSize) with mask[i] true, writes dst[i] = values[j % valuesCount] and advances j.

public delegate void PlaceKernel(byte* dst, byte* mask, long maskSize, byte* values, long valuesCount, long elemBytes)

Parameters

dst byte*
IL-emitted mask-driven scatter for np.place. For each i in [0, maskSize) with mask[i] true, writes dst[i] = values[j % valuesCount] and advances j.
mask byte*
IL-emitted mask-driven scatter for np.place. For each i in [0, maskSize) with mask[i] true, writes dst[i] = values[j % valuesCount] and advances j.
maskSize long
IL-emitted mask-driven scatter for np.place. For each i in [0, maskSize) with mask[i] true, writes dst[i] = values[j % valuesCount] and advances j.
values byte*
IL-emitted mask-driven scatter for np.place. For each i in [0, maskSize) with mask[i] true, writes dst[i] = values[j % valuesCount] and advances j.
valuesCount long
IL-emitted mask-driven scatter for np.place. For each i in [0, maskSize) with mask[i] true, writes dst[i] = values[j % valuesCount] and advances j.
elemBytes long
IL-emitted mask-driven scatter for np.place. For each i in [0, maskSize) with mask[i] true, writes dst[i] = values[j % valuesCount] and advances j.
Extension Methods