Table of Contents

Delegate PolyMapParmsKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

polyutils.mapparms on four NumPy scalars of ONE dtype — the whole of NumPy's six scalarmath operations in one call: oldlen = o1 - o0; newlen = n1 - n0; off = (o1n0 - o0n1) / oldlen; scl = newlen / oldlen.

public delegate void PolyMapParmsKernel(byte* o1, byte* o0, byte* n1, byte* n0, byte* off, byte* scl)

Parameters

o1 byte*

old[1].

o0 byte*

old[0].

n1 byte*

new[1].

n0 byte*

new[0].

off byte*

Result offset (the true-division dtype: float64 for an integer dtype).

scl byte*

Result scale (same dtype).