Table of Contents

Interface INDReducingInnerLoop<TAccum>

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

Reduction variant — the accumulator is threaded through the outer loop so each inner-loop invocation can accumulate into the same scalar. Return false to abort iteration (early exit for Any/All).

public interface INDReducingInnerLoop<TAccum> where TAccum : unmanaged

Type Parameters

TAccum
Extension Methods

Methods

Execute(void**, long*, long, ref TAccum)

bool Execute(void** dataptrs, long* strides, long count, ref TAccum accumulator)

Parameters

dataptrs void**
strides long*
count long
accumulator TAccum

Returns

bool