Table of Contents

Struct ComplexProdKernel

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

Complex product. The cross-term multiply (a+bi)(c+di) cannot be expressed as an independent-lane SIMD reduction, so this is a scalar fold; the win over the delegate path is devirtualization + a register-held accumulator.

public readonly struct ComplexProdKernel : INDReducingInnerLoop<Complex>
Implements
Inherited Members
Extension Methods

Methods

Execute(void**, long*, long, ref Complex)

public bool Execute(void** dataptrs, long* strides, long count, ref Complex prod)

Parameters

dataptrs void**
strides long*
count long
prod Complex

Returns

bool