Delegate DirectILKernelGenerator.QuantileKernel
The emitted quantile kernel: one call computes every row (reduced line) of the staged data.
public delegate void DirectILKernelGenerator.QuantileKernel(void* srcBase, void* scratchBase, long outer, int n, int* kSorted, int nKs, int* cellIndex, double* cellWeight, double* q, int nQs, void* dstBase, long dstOuterStride, int ignoreNaN, int* rowKScratch, long* rowRaw, double* rowWeight, int* kExact, int nKExact)
Parameters
srcBasevoid*The staged data:
outercontiguous lines ofnelements of the data's dtype.scratchBasevoid*A scratch line of
nelements (the partition's working copy).outerlongThe number of lines.
nintThe line's length (at least 1).
kSortedint*The ascending, distinct partition indexes (the plain path; unused by the nan path).
nKsintHow many partition indexes.
cellIndexint*The plain path's plan: per quantile, the previous and next index (in [0, n - 1]).
cellWeightdouble*The plain path's plan: per quantile, the weight t and
1 - t(values of q's dtype).qdouble*The quantiles (values of q's dtype), read by the nan path to plan each line.
nQsintThe number of quantiles.
dstBasevoid*The result buffer (the kernel's output dtype), quantile-major.
dstOuterStridelongThe distance in elements between two quantiles' blocks (0 for a scalar q).
ignoreNaNint1 for the nan forms.
rowKScratchint*The nan path's partition indexes (2 per quantile).
rowRawlong*The nan path's neighbours (2 per quantile).
rowWeightdouble*The nan path's weights (2 per quantile).
kExactint*NumPy's own partition list for float data (FloatPartitionKth(long*, int, long, bool, bool, int*)): the plain path partitions a row at it with NumPy's statements when the arrangement shows (the row holds both zero signs, or NaNs of different bits); empty for other data.
nKExactintHow many positions
kExactholds.