Table of Contents

Struct DecimalArgAccumulator

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

ArgMin/ArgMax accumulator for Decimal — same running-index bookkeeping as HalfArgAccumulator, minus the NaN slot (decimal has no NaN). Decimal is on this fallback route for the same reason Half/Complex are: the IL arg kernels compare via OpCodes.Bgt/Blt, which do not apply to a 16-byte struct — the emitted kernel silently mis-compared (argmax([3,9,1,5]) returned 0).

public struct DecimalArgAccumulator
Inherited Members

Fields

Best

public decimal Best

Field Value

decimal

BestIdx

public long BestIdx

Field Value

long

Cur

public long Cur

Field Value

long