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+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public int Reduce(
	int seed,
	Func<int, int, int> reducer
)

Parameters

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

Return Value

Int32
The final synthesized value.

See Also