IGrouping.AggregateInto Method

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

AggregateInto<T, U>(Vector<T>, Aggregator<T, U>, Vector<U>) Aggregates the specified vector over each group and returns the result.
AggregateInto<T, U>(Vector<T>, Vector<T>, Aggregator2<T, U>, Vector<U>) Aggregates the specified vector over each group and returns the result.

AggregateInto<T, U>(Vector<T>, Aggregator<T, U>, Vector<U>)

Aggregates the specified vector over each group and returns the result.
C#
Vector<U> AggregateInto<T, U>(
	Vector<T> values,
	Aggregator<T, U> aggregator,
	Vector<U> result
)

Parameters

values  Vector<T>
A vector.
aggregator  Aggregator<T, U>
The aggregator to apply to each group.
result  Vector<U>
The vector that is to hold the result.

Type Parameters

T
The element type of the input vector.
U
The type of the result of the aggregation.

Return Value

Vector<U>

AggregateInto<T, U>(Vector<T>, Vector<T>, Aggregator2<T, U>, Vector<U>)

Aggregates the specified vector over each group and returns the result.
C#
Vector<U> AggregateInto<T, U>(
	Vector<T> values1,
	Vector<T> values2,
	Aggregator2<T, U> aggregator,
	Vector<U> result
)

Parameters

values1  Vector<T>
A vector.
values2  Vector<T>
A vector.
aggregator  Aggregator2<T, U>
The aggregator to apply to each group.
result  Vector<U>
The vector that is to hold the result.

Type Parameters

T
The element type of the input vector.
U
The type of the result of the aggregation.

Return Value

Vector<U>

See Also