Vector<T>.AggregateBy<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#
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.

Return Value

Vector<U>

See Also