Table of Contents

Delegate DirectILKernelGenerator.AdjacentDiffKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Fused adjacent-difference kernel: for each of rows rows, dst[i] = src[i+1] - src[i] over the row's inLen contiguous elements (the output row has inLen-1 elements). src and dst are raw base pointers to C-contiguous buffers.

public delegate void DirectILKernelGenerator.AdjacentDiffKernel(void* src, void* dst, long rows, long inLen)

Parameters

src void*
Fused adjacent-difference kernel: for each of rows rows, dst[i] = src[i+1] - src[i] over the row's inLen contiguous elements (the output row has inLen-1 elements). src and dst are raw base pointers to C-contiguous buffers.
dst void*
Fused adjacent-difference kernel: for each of rows rows, dst[i] = src[i+1] - src[i] over the row's inLen contiguous elements (the output row has inLen-1 elements). src and dst are raw base pointers to C-contiguous buffers.
rows long
Fused adjacent-difference kernel: for each of rows rows, dst[i] = src[i+1] - src[i] over the row's inLen contiguous elements (the output row has inLen-1 elements). src and dst are raw base pointers to C-contiguous buffers.
inLen long
Fused adjacent-difference kernel: for each of rows rows, dst[i] = src[i+1] - src[i] over the row's inLen contiguous elements (the output row has inLen-1 elements). src and dst are raw base pointers to C-contiguous buffers.