Click or drag to resize
SeriesStatsExtensionsInterpolateLinearK Method
Linearly interpolates an ordered series given a new sequence of keys. ## Parameters - `keys` - Sequence of new keys that forms the index of interpolated results - `keyDiff` - A function representing "subtraction" between two keys [category:Calculations, aggregation and statistics]

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, double> InterpolateLinear<K>(
	this Series<K, double> series,
	IEnumerable<K> keys,
	Func<K, K, double> keyDiff
)

Parameters

series
Type: DeedleSeriesK, Double

[Missing <param name="series"/> documentation for "M:Deedle.SeriesStatsExtensions.InterpolateLinear``1(Deedle.Series{``0,System.Double},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,System.Double})"]

keys
Type: System.Collections.GenericIEnumerableK

[Missing <param name="keys"/> documentation for "M:Deedle.SeriesStatsExtensions.InterpolateLinear``1(Deedle.Series{``0,System.Double},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,System.Double})"]

keyDiff
Type: SystemFuncK, K, Double

[Missing <param name="keyDiff"/> documentation for "M:Deedle.SeriesStatsExtensions.InterpolateLinear``1(Deedle.Series{``0,System.Double},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,System.Double})"]

Type Parameters

K

Return Value

Type: SeriesK, Double

[Missing <returns> documentation for "M:Deedle.SeriesStatsExtensions.InterpolateLinear``1(Deedle.Series{``0,System.Double},System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,System.Double})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SeriesK, Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also