Aggregates the elements of a vector according to the specified grouping.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> AggregateBy<U>(
Vector<U> values,
IGrouping grouping
)
Public Function AggregateBy(Of U) (
values As Vector(Of U),
grouping As IGrouping
) As Vector(Of T)
public:
generic<typename U>
Vector<T>^ AggregateBy(
Vector<U>^ values,
IGrouping^ grouping
)
member AggregateBy :
values : Vector<'U> *
grouping : IGrouping -> Vector<'T>
Parameters
- values
- Type: Extreme.MathematicsVectorU
The vector to aggregate. - grouping
- Type: Extreme.DataAnalysisIGrouping
A grouping.
Type Parameters
- U
Return Value
Type:
VectorTA vector containing the aggregated values.
Reference