Table of Contents

Delegate ArgwhereExpandKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

IL-emitted coord-expand: converts a flat-index buffer (monotonic ascending C-order) to the (count, ndim) row-major argwhere result via incremental coord advance — no per-element divmod. Dtype-agnostic (operates on long*).

public delegate void ArgwhereExpandKernel(long* flat, long count, long* dims, long* dimStrides, long ndim, long* outRows)

Parameters

flat long*
IL-emitted coord-expand: converts a flat-index buffer (monotonic ascending C-order) to the (count, ndim) row-major argwhere result via incremental coord advance — no per-element divmod. Dtype-agnostic (operates on long*).
count long
IL-emitted coord-expand: converts a flat-index buffer (monotonic ascending C-order) to the (count, ndim) row-major argwhere result via incremental coord advance — no per-element divmod. Dtype-agnostic (operates on long*).
dims long*
IL-emitted coord-expand: converts a flat-index buffer (monotonic ascending C-order) to the (count, ndim) row-major argwhere result via incremental coord advance — no per-element divmod. Dtype-agnostic (operates on long*).
dimStrides long*
IL-emitted coord-expand: converts a flat-index buffer (monotonic ascending C-order) to the (count, ndim) row-major argwhere result via incremental coord advance — no per-element divmod. Dtype-agnostic (operates on long*).
ndim long
IL-emitted coord-expand: converts a flat-index buffer (monotonic ascending C-order) to the (count, ndim) row-major argwhere result via incremental coord advance — no per-element divmod. Dtype-agnostic (operates on long*).
outRows long*
IL-emitted coord-expand: converts a flat-index buffer (monotonic ascending C-order) to the (count, ndim) row-major argwhere result via incremental coord advance — no per-element divmod. Dtype-agnostic (operates on long*).
Extension Methods