Vector<T>.Aggregate By<U>(IGrouping, Aggregator<T, U>) Method
Aggregates the vector according to the specified grouping.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<U> AggregateBy<U>(
IGrouping grouping,
Aggregator<T, U> aggregator
)
Parameters
- grouping IGrouping
- An object that specifies the grouping.
- aggregator Aggregator<T, U>
- An aggregator.
Type Parameters
- U
- The type of the result of the aggregation.