Delegate PolyCalcKernel
One numpy.polynomial calculus kernel call (see the file header): loads/scales and differentiates
(orders fused orders) or integrates (one order) a C-contiguous working buffer in place.
public delegate void PolyCalcKernel(byte* src, long srcRow, long srcCol, byte* buf, long bufRow, long cols, long n, long orders, long block, byte* scl)
Parameters
srcbyte*The source element (row 0, column 0) to LOAD from, or null when the series already sits in the buffer (then only
c *= sclruns over it, when the kernel scales).srcRowlongByte stride of the source along the series axis (any sign, 0 for a broadcast).
srcCollongByte stride of the source between consecutive columns (C order of the other axes).
bufbyte*Buffer row 0: c[0]'s row for a derivative, the row tmp[0] goes to for an integral (c[0] then sits at row 1).
bufRowlongByte stride between buffer rows (
cols * itemsize).colslongColumns (the product of the other axes; 1 for a 1-D series, 0 does nothing).
nlonglen(c)— coefficients in the series before the first order.orderslongA derivative's order count, 1 ≤ orders < n (each order shortens the series by one); an integral kernel runs exactly one order and ignores it.
blocklongColumns per block (≥ 1): how many columns stay cache-resident through the recurrence.
sclbyte*One element of the SCALE LOOP dtype (NumSharp.Backends.Kernels.PolyCalcKey.ScaleLoop — the coefficient dtype, or the wider loop a promoting strong scalar makes) holding NumPy's
sclafter its conversion into that loop (read only by a kernel compiled with NumSharp.Backends.Kernels.PolyCalcKey.Scale).