Table of Contents

Interface INDAxisNumericReductionKernel<T>

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

Generic numeric axis reduction kernel interface. Used by NDAxisIter for sum, prod, min, max along an axis.

public interface INDAxisNumericReductionKernel<T> where T : unmanaged

Type Parameters

T

Methods

Execute(T*, long, long)

Execute the reduction along the axis.

public static abstract T Execute(T* src, long srcStride, long length)

Parameters

src T*

Source pointer at base position

srcStride long

Stride along the reduction axis

length long

Length of the reduction axis

Returns

T

Reduced value