Aggregator<T, TResult> Implicit  Conversion (Func<Vector<T>, TResult> to Aggregator<T, TResult>)

Implicitly converts an aggregation function to an Aggregator<T, TResult> object.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static implicit operator Aggregator<T, TResult> (
	Func<Vector<T>, TResult> function
)

Parameters

function  Func<Vector<T>, TResult>
A delegate that maps a vector of T values to an aggregate value of type function.

Return Value

Aggregator<T, TResult>
An aggregator that applies function to its input.

See Also