Vector<T>.Aggregate Method

Definition

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

Overload List

Aggregate(TypePreservingAggregatorGroup) Applies the specified aggregator to the vector.
Aggregate<U>(Aggregator<T, U>) Applies the specified aggregator to the vector.
Aggregate<U>(AggregatorGroup<U>) Applies the specified aggregator to the vector.

Aggregate<U>(Aggregator<T, U>)

Applies the specified aggregator to the vector.
C#
public U Aggregate<U>(
	Aggregator<T, U> aggregator
)

Parameters

aggregator  Aggregator<T, U>
An aggregator.

Type Parameters

U
The type of the result of the aggregation.

Return Value

U

Aggregate<U>(AggregatorGroup<U>)

Applies the specified aggregator to the vector.
C#
public U Aggregate<U>(
	AggregatorGroup<U> aggregator
)

Parameters

aggregator  AggregatorGroup<U>
An aggregator group.

Type Parameters

U
The type of the result of the aggregation.

Return Value

U

Aggregate(TypePreservingAggregatorGroup)

Applies the specified aggregator to the vector.
C#
public T Aggregate(
	TypePreservingAggregatorGroup aggregator
)

Parameters

aggregator  TypePreservingAggregatorGroup
An aggregator group.

Return Value

T

See Also