Stan Math Library
5.0.0
Automatic Differentiation
|
std::vector< int > stan::math::sort_indices | ( | const C & | xs | ) |
Return an integer array of indices of the specified container sorting the values in ascending or descending order based on the value of the first template parameter.
ascending | true if sort is in ascending order |
C | type of container |
xs | Container to sort |
Definition at line 64 of file sort_indices.hpp.