CategoricalVector<T>.GetLevelIndex Method

Gets the level index of the element at the specified position.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public int GetLevelIndex(
	int index
)

Parameters

index  Int32

Return Value

Int32
The level index of the element. If the element is missing, -1 is returned.

See Also