Grouping.FromLevels Method

Constructs a grouping from the specified collection of level indexes.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public static IGrouping FromLevels(
	int maxLevel,
	int[] levels
)

Parameters

maxLevel  Int32
The number of levels.
levels  Int32[]
An array of level indexes.

Return Value

IGrouping
A grouping into maxLevel levels using the values in levels as level indexes.

See Also