Macaulay2 Engine
Loading...
Searching...
No Matches

◆ gb_sort()

void gb2_comp::gb_sort ( int lo,
int hi )
private

Definition at line 185 of file res-a2-gb.cpp.

186{
187 if (lo < hi)
188 {
189 int q = gb_sort_partition(lo, hi);
190 gb_sort(lo, q);
191 gb_sort(q + 1, hi);
192 }
193}
void gb_sort(int lo, int hi)
int gb_sort_partition(int lo, int hi)

References gb_sort(), and gb_sort_partition().

Referenced by end_degree(), and gb_sort().