Click or drag to resize
Accord.NET (logo)

SortInsertionT Method (T, Int32, Int32, Boolean)

Insertion sort.

Namespace:  Accord
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static int Insertion<T>(
	T[] keys,
	int first,
	int last,
	bool asc = true
)
where T : Object, IComparable<T>
Request Example View Source

Parameters

keys
Type: T
first
Type: SystemInt32
last
Type: SystemInt32
asc (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: Int32
See Also