Click or drag to resize

Selectionquickselect Method

Make a quick selection from a list of values.

Namespace:  Karamba.Utilities.AABBTrees
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public static double quickselect(
	double[] a,
	int l,
	int r,
	int key
)

Parameters

a
Type: SystemDouble
Values to select from.
l
Type: SystemInt32
Left value.
r
Type: SystemInt32
Right value.
key
Type: SystemInt32
Index of value in a to select in case l and r converged.

Return Value

Type: Double
Selected value.
See Also