Table of Contents

Delegate PolyCastKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

np.array(src[:n], copy=True, dtype=T) for a 1-D source: r[i] = (T)p[i] with the house (NumPy astype) conversion, strided source into a contiguous destination.

public delegate void PolyCastKernel(byte* p, long n, long byteStride, byte* r)

Parameters

p byte*

Source element 0.

n long

Element count.

byteStride long

Signed source byte stride.

r byte*

Destination, n contiguous elements of the target dtype.