Table of Contents

Delegate TraceKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.

public delegate void TraceKernel(byte* src, long startOff, long diagSize, long byteStride, long outerSize, long outerSrcStride, long outerDstStride, byte* dst)

Parameters

src byte*
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
startOff long
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
diagSize long
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
byteStride long
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
outerSize long
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
outerSrcStride long
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
outerDstStride long
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
dst byte*
Walks the diagonal of one or more 2-D sub-arrays and accumulates each into the promoted dtype. Per-src dtype kernel; accum / result dtypes are baked into the IL at emit time.
Extension Methods