Click or drag to resize
SeriesModuleFoldValuesa, T, K Method
Aggregates the values of the specified series using a function that can combine individual values. The folding starts with the specified initial value. ## Parameters - `series` - An input series to be aggregated - `init` - An initial value for the aggregation - `op` - A function that is used to aggregate elements of the series with the current state [category:Series transformations]

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

Parameters

op
Type: Microsoft.FSharp.CoreFSharpFunca, FSharpFuncT, a

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

init
Type: a

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

Type Parameters

a
T
K

Return Value

Type: a

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

See Also