Exemple #1
0
            protected override IComparable GroupTyped(ColumnTyped <DataT> sourceColumn, ArrayRange sourceIndices)
            {
                DataT result = math.MaxValue();

                foreach (var v in sourceColumn.VisitRows(sourceIndices))
                {
                    result = math.Min(result, v);
                }
                return(result);
            }
Exemple #2
0
 protected override IComparable GroupTyped(ColumnTyped <DataT> sourceColumn, ArrayRange sourceIndices)
 {
     using (Profiling.GetMarker(Profiling.MarkerId.MergeMin).Auto())
     {
         DataT result = math.MaxValue();
         foreach (var v in sourceColumn.VisitRows(sourceIndices))
         {
             result = math.Min(result, v);
         }
         return(result);
     }
 }