| 
            
              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)
Syntaxpublic static double quickselect(
	double[] a,
	int l,
	int r,
	int key
)
Public Shared Function quickselect ( 
	a As Double(),
	l As Integer,
	r As Integer,
	key As Integer
) As Double
public:
static double quickselect(
	array<double>^ a, 
	int l, 
	int r, 
	int key
)
static member quickselect : 
        a : float[] * 
        l : int * 
        r : int * 
        key : int -> float 
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: 
DoubleSelected value.
See Also