Bio/Cluster/mysort.h
/*
We separate this from the main sort function so that
if we ever need to initialize/shuffle/etc, we can do
it here without changing the core sorting code.
*/
We separate this from the main sort function so that
if we ever need to initialize/shuffle/etc, we can do
it here without changing the core sorting code.
We separate this from the main sort function so that if we ever need to initialize / shuffle / etc we can do it here without changing the core sorting code .
void
fastsort(int n, double a[])
{
	fastsort_recursive(a, 0, n - 1);
}
void fastsort ( int n , double a [ ] ) { fastsort_recursive ( a , 0 , n - 1 ) ; }
We separate this from the main sort function so that
if we ever need to initialize/shuffle/etc, we can do
it here without changing the core sorting code.
We separate this from the main sort function so that if we ever need to initialize / shuffle / etc we can do it here without changing the core sorting code .