Aggregators.CreateGroup<T, TResult> Method

Constructs a new aggregator group from a function.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public static AggregatorGroup<TResult> CreateGroup<T, TResult>(
	Func<Vector<T>, TResult> function
)

Parameters

function  Func<Vector<T>, TResult>
A function that computes the aggregated value of a vector.

Type Parameters

T
The type of the result.
TResult
The element type of the inputs.

Return Value

AggregatorGroup<TResult>
An aggregator group.

See Also