Creates a new hierarchical index with two levels.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Index<(T1 , T2 )> Create<T1, T2>(
IList<T1> level1,
IList<T2> level2
)
Public Shared Function Create(Of T1, T2) (
level1 As IList(Of T1),
level2 As IList(Of T2)
) As Index(Of ( As T1, As T2))
public:
generic<typename T1, typename T2>
static Index<ValueTuple<T1, T2>>^ Create(
IList<T1>^ level1,
IList<T2>^ level2
)
static member Create :
level1 : IList<'T1> *
level2 : IList<'T2> -> Index<ValueTuple<'T1, 'T2>>
Parameters
- level1
- Type: System.Collections.GenericIListT1
A list of values containing the keys for the first level. - level2
- Type: System.Collections.GenericIListT2
A list of values containing the keys for the second level.
Type Parameters
- T1
- The type of the keys at the first level of the index.
- T2
- The type of the keys at the second level of the index.
Return Value
Type:
IndexValueTupleT1,
T2The new index.
Reference