AggregatorGroup<TResult>.AggregateBy<T> Method

Aggregates the elements of a vector according to the specified grouping.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public Vector<TResult> AggregateBy<T>(
	Vector<T> values,
	IGrouping grouping
)

Parameters

values  Vector<T>
The vector to aggregate.
grouping  IGrouping
A grouping.

Type Parameters

T

Return Value

Vector<TResult>
A vector containing the aggregated values.

See Also