Creates a new hierarchical index with two levels.
Namespace: Extreme.CollectionsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public static Index<Tuple<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 Tuple(Of T1, T2))
public:
generic<typename T1, typename T2>
static Index<Tuple<T1, T2>^>^ Create(
IList<T1>^ level1,
IList<T2>^ level2
)
static member Create :
level1 : IList<'T1> *
level2 : IList<'T2> -> Index<Tuple<'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:
IndexTupleT1,
T2The new index.
Numerical Libraries
Supported in: 5.x
Reference