Sequence T  Scan Method A Sandcastle Documented Class Library
Crates a new sequence which contains all intermediate results of successive applications of a function op to subsequent elements left to right.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public ISequence<T> Scan(
	T seed,
	Func<T, T, T> op
)

Parameters

seed
Type: T
The initial value for the scan.
op
Type: System Func T, T, T 
A function that will apply operations to successive values in the sequence against previous accumulated results.

Return Value

Type: ISequence T 
A new sequence which contains all intermediate results of successive applications of a function op to subsequent elements left to right.

Implements

ISequence T  Scan(T, Func T, T, T )
See Also