Matrix1 Utility Plug-ins

GET ARRAYPTR SORT


Syntax

SortMethod = GET ARRAYPTR SORT Array()

Description

This command is identical to the equivalent GET ARRAY SORT command, except that it operates on an array pointer rather than an array.

Gets the current sort method for the array.

Valid methods include:
0 - Introsort (a variation on quicksort) - n*log(n) complexity, unstable
1 - Mergesort - n*log(n) or n*log(n)*log(n) complexity, depending on memory available, stable
2 - Heapsort - n*log(n) complexity but usually twice as long as method 0

Go back to ...

Matrix1Util_29 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011