Quick sort

File:
QuickSort.lib
Version:
1.0
Author:
Marcus Johansson

Contents

Details
Sub routines


Details

Quick sort for 1D and 2D integer and float arrays.


Subroutines

Name
Parameters
Brief description
procedure
QuickSort
&array[]
Sort integer array.
procedure
QuickSort2D
&array[][], index
Sort 2D integer array.
procedure
QuickSortF
&array#[]
Sort float array.
procedure
QuickSort2DF
&array#[][], index
Sort 2D float array.


Subroutine documentation

procedure QuickSort ( &array[] )

Sort integer array.

Parameter
Mode
Description
array
In
Array to sort.

[ Back ]


procedure QuickSort2D ( &array[][], index )

Sort 2D integer array.

Parameter
Mode
Description
array
In
Array to sort.
index
In
Index to base sort on.

[ Back ]


procedure QuickSortF ( &array#[] )

Sort float array.

Parameter
Mode
Description
array
In
Array to sort.

[ Back ]


procedure QuickSort2DF ( &array#[][], index )

Sort 2D float array.

Parameter
Mode
Description
array
In
Array to sort.
index
In
Index to base sort on.

[ Back ]


Generated with NLDoc 20140630.