Grouping.ExpandingWindow Method

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

ExpandingWindow(IIndex) Constructs a grouping that represents an expanding window.
ExpandingWindow<TInput>(Index<TInput>) Constructs a grouping that represents an expanding window.

ExpandingWindow(IIndex)

Constructs a grouping that represents an expanding window.
C#
public static IGrouping ExpandingWindow(
	IIndex index
)

Parameters

index  IIndex
The index the grouping is over.

Return Value

IGrouping
A grouping object that represents the expanding moving window.

Exceptions

ArgumentNullException

index is null.

ExpandingWindow<TInput>(Index<TInput>)

Constructs a grouping that represents an expanding window.
C#
public static Grouping<TInput> ExpandingWindow<TInput>(
	Index<TInput> index
)

Parameters

index  Index<TInput>
The index the grouping is over.

Type Parameters

TInput

Return Value

Grouping<TInput>
A grouping object that represents the expanding moving window.

Exceptions

ArgumentNullException

index is null.

See Also