SequenceT, TSelfReduce Method

Reduces a sequence to a single number.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public virtual T Reduce(
	T seed,
	Func<T, T, T> reducer
)

Parameters

seed  T
The seed value.
reducer  FuncT, T, T
A function that combines two elements into one.

Return Value

T
The reduced values.

See Also