protected override IComparable GroupTyped(ColumnTyped <DataT> sourceColumn, ArrayRange sourceIndices) { DataT result = math.MinValue(); foreach (var v in sourceColumn.VisitRows(sourceIndices)) { result = math.Max(result, v); } return(result); }
protected override IComparable GroupTyped(ColumnTyped <DataT> sourceColumn, ArrayRange sourceIndices) { using (Profiling.GetMarker(Profiling.MarkerId.MergeMax).Auto()) { DataT result = math.MinValue(); foreach (var v in sourceColumn.VisitRows(sourceIndices)) { result = math.Max(result, v); } return(result); } }