Struct NDMaxAxisKernel<T>
Max reduction kernel for axis operations.
public readonly struct NDMaxAxisKernel<T> : INDAxisNumericReductionKernel<T> where T : unmanaged, IComparisonOperators<T, T, bool>, IMinMaxValue<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