CategoricalVector<T>.GetIndexes Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

GetIndexes(T) Returns a sequence of the indexes of elements with the specified level.
GetIndexes(Int32) Returns a sequence of the indexes of elements with the specified level index.

GetIndexes(T)

Returns a sequence of the indexes of elements with the specified level.
C#
public IEnumerable<int> GetIndexes(
	T level
)

Parameters

level  T
The level to look for.

Return Value

IEnumerable<Int32>
A sequence of the zero-based indexes of the elements whose level is level.

GetIndexes(Int32)

Returns a sequence of the indexes of elements with the specified level index.
C#
public IEnumerable<int> GetIndexes(
	int level
)

Parameters

level  Int32
The level index to look for.

Return Value

IEnumerable<Int32>
A sequence of the zero-based indexes of the elements whose level index is level.

See Also