TypePreservingAggregatorGroup.Aggregate Method

Definition

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

Overload List

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

Aggregate<T>(Vector<T>)

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

Parameters

values  Vector<T>
A vector of values.

Type Parameters

T
The element type of the vector.

Return Value

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

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

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

Parameters

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

Type Parameters

T

Return Value

Vector<T>
A vector containing the aggregated values.

See Also