MathQuickSortDescending

该函数用于通过快速排序算法同步降序排列array[]和indices[] 数组。 

void  MathQuickSortDescending(

   double&  array[],     // 数值数组

   int&     indices[],   // 索引数组

   int      first,       // 初始值

   int      last         // 最终值

   )

参数

array[]

[in][out] 排序数组。 

indices[]

[in][out] 存储原数组索引的数组。 

first

[in] 开始排序的元素索引。 

last

[in] 停止排序的元素索引。