Aggregator2Group<T>.Aggregate Method

Definition

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

Overload List

Aggregate<U>(Vector<U>, Vector<U>) Aggregates the elements of a vector and returns the result.
Aggregate<U>(Vector<U>, Vector<U>, IGrouping) Aggregates the elements of a vector according to the specified grouping.

Aggregate<U>(Vector<U>, Vector<U>)

Aggregates the elements of a vector and returns the result.
C#
public T Aggregate<U>(
	Vector<U> values1,
	Vector<U> values2
)

Parameters

values1  Vector<U>
A vector of values.
values2  Vector<U>
A vector of values.

Type Parameters

U
The element type of the vector.

Return Value

T
true if the aggregation produced a result; otherwise false.

Aggregate<U>(Vector<U>, Vector<U>, IGrouping)

Aggregates the elements of a vector according to the specified grouping.
C#
public Vector<T> Aggregate<U>(
	Vector<U> values1,
	Vector<U> values2,
	IGrouping grouping
)

Parameters

values1  Vector<U>
A vector of values.
values2  Vector<U>
A vector of values.
grouping  IGrouping
A grouping.

Type Parameters

U

Return Value

Vector<T>
A vector containing the aggregated values.

See Also