NVectorReduce Method

Creates an aggregate value by applying the reducer to each item.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public double Reduce(
	int seed,
	Func<int, int, int> reducer
)

Parameters

seed  Int32
The initial value.
reducer  FuncInt32, Int32, Int32
The reducing function.

Return Value

Double
The final synthesized value.

See Also