Table of Contents

Delegate UnaryKernelStrided<TIn, TOut>

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Strided unary operation kernel with explicit offset and stride parameters. Used when input/output arrays are not contiguous in memory.

public delegate void UnaryKernelStrided<TIn, TOut>(TIn* input, int inOffset, int inStride, TOut* output, int outOffset, int outStride, int count) where TIn : unmanaged where TOut : unmanaged

Parameters

input TIn*

Pointer to input data

inOffset int

Starting offset in input (element units)

inStride int

Stride between input elements (element units)

output TOut*

Pointer to output data

outOffset int

Starting offset in output (element units)

outStride int

Stride between output elements (element units)

count int

Number of elements to process

Type Parameters

TIn

Input element type

TOut

Output element type

Extension Methods