Table of Contents

Struct HalfArgAccumulator

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

ArgMin/ArgMax accumulator for Half. Cur is the running C-order flat index of the chunk's first element (callers MUST use NPY_CORDER). BestIdx starts at -1 as the "no value yet" sentinel. SawNaNIdx is the flat index of the first NaN (NumPy: argmin/argmax of an array containing NaN return the first NaN's index); -1 until a NaN is seen.

public struct HalfArgAccumulator
Inherited Members
Extension Methods

Fields

Best

public double Best

Field Value

double

BestIdx

public long BestIdx

Field Value

long

Cur

public long Cur

Field Value

long

SawNaNIdx

public long SawNaNIdx

Field Value

long