|
SortInsertionTKey, TValue Method (TKey, TValue, Int32, Int32, Boolean)
|
Insertion sort.
Namespace:
Accord
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static int Insertion<TKey, TValue>(
TKey[] keys,
TValue[] items,
int first,
int last,
bool asc = true
)
where TKey : Object, IComparable<TKey>
Public Shared Function Insertion(Of TKey As {Object, IComparable(Of TKey)}, TValue) (
keys As TKey(),
items As TValue(),
first As Integer,
last As Integer,
Optional asc As Boolean = true
) As Integer
Request Example
View SourceParameters
- keys
- Type: TKey
- items
- Type: TValue
- first
- Type: SystemInt32
- last
- Type: SystemInt32
- asc (Optional)
- Type: SystemBoolean
Type Parameters
- TKey
- TValue
Return Value
Type:
Int32See Also