Click or drag to resize
SeriesModuleScanValuesR, T, K Method
Applies a folding function starting with some initial value and the first value of the series, and continues to "scan" along the series, saving all values produced from the first function application, and yielding a new series having the original index and newly produced values. Any application involving a missing value yields a missing value. ## Parameters - `foldFunc` - A folding function - `init` - An initial value - `series` - The series over whose values to scan [category:Series transformations]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, R> ScanValues<R, T, K>(
	FSharpFunc<R, FSharpFunc<T, R>> foldFunc,
	R init,
	Series<K, T> series
)

Parameters

foldFunc
Type: Microsoft.FSharp.CoreFSharpFuncR, FSharpFuncT, R

[Missing <param name="foldFunc"/> documentation for "M:Deedle.SeriesModule.ScanValues``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``0}},``0,Deedle.Series{``2,``1})"]

init
Type: R

[Missing <param name="init"/> documentation for "M:Deedle.SeriesModule.ScanValues``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``0}},``0,Deedle.Series{``2,``1})"]

series
Type: DeedleSeriesK, T

[Missing <param name="series"/> documentation for "M:Deedle.SeriesModule.ScanValues``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``0}},``0,Deedle.Series{``2,``1})"]

Type Parameters

R
T
K

Return Value

Type: SeriesK, R

[Missing <returns> documentation for "M:Deedle.SeriesModule.ScanValues``3(Microsoft.FSharp.Core.FSharpFunc{``0,Microsoft.FSharp.Core.FSharpFunc{``1,``0}},``0,Deedle.Series{``2,``1})"]

See Also