GetSortIdx

Function Usage

This function indicates the index array after sorting.

Prototype

std::vector<int> GetSortIdx();

Parameter Description

Parameter

Input/Output

Description

tosort

Input

Start index of the array to be sorted.

n

Input

Number of elements to be sorted.