Delegate DirectILKernelGenerator.HistogramCountKernel
Fused unweighted histogram count kernel: for each sample compute its bin index (as in
DirectILKernelGenerator.HistogramIndicesKernel) and increment the count directly — no int64 indices array
and no separate bincount pass. Out-of-range/NaN samples are skipped.
public delegate void DirectILKernelGenerator.HistogramCountKernel(void* samples, long count, void* binEdges, double first, double last, int nbins, long* counts)
Parameters
samplesvoid*Contiguous samples in dtype B.
countlongNumber of samples.
binEdgesvoid*Contiguous
nbins+1bin edges in dtype B.firstdoubleLower outer edge (double).
lastdoubleUpper outer edge (double).
nbinsintNumber of bins.
countslong*Output int64 count buffer of length
nbins(pre-zeroed).