Pivot.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>) Applies the specified aggregator to the elements of a vector according to the current grouping.
AggregateInto<T, U>(Vector<T>, Vector<T>, Aggregator2<T, U>, Vector<U>) Applies the specified aggregator to the elements of a vector according to the current grouping.

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

Applies the specified aggregator to the elements of a vector according to the current grouping.
C#
public Vector<U> AggregateInto<T, U>(
	Vector<T> values,
	Aggregator<T, U> aggregator,
	Vector<U> result
)

Parameters

values  Vector<T>
A vector that contains the values to be aggregated.
aggregator  Aggregator<T, U>
An aggregator object.
result  Vector<U>
A vector that is to hold the result. May be null.

Type Parameters

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

Return Value

Vector<U>
A vector containing the aggregated values indexed by the grouping's index.

Implements

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

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

Applies the specified aggregator to the elements of a vector according to the current grouping.
C#
public Vector<U> AggregateInto<T, U>(
	Vector<T> values1,
	Vector<T> values2,
	Aggregator2<T, U> aggregator,
	Vector<U> result
)

Parameters

values1  Vector<T>
A vector that contains the values to be aggregated.
values2  Vector<T>
A vector that contains the values to be aggregated.
aggregator  Aggregator2<T, U>
An aggregator object.
result  Vector<U>
A vector that is to hold the result. May be null.

Type Parameters

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

Return Value

Vector<U>
A vector containing the aggregated values indexed by the grouping's index.

Implements

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

See Also