Struct NDProdAxisKernel<T>
Product reduction kernel for axis operations.
public readonly struct NDProdAxisKernel<T> : INDAxisNumericReductionKernel<T> where T : unmanaged, IMultiplyOperators<T, T, T>, IMultiplicativeIdentity<T, T>
Type Parameters
T
- Implements
- Inherited Members
- Extension Methods
Methods
Execute(T*, long, long)
Execute the reduction along the axis.
public static T Execute(T* src, long srcStride, long length)
Parameters
srcT*Source pointer at base position
srcStridelongStride along the reduction axis
lengthlongLength of the reduction axis
Returns
- T
Reduced value