Stan Math Library
5.0.0
Automatic Differentiation
|
Definition at line 22 of file sort_indices.hpp.
#include <sort_indices.hpp>
Public Member Functions | |
index_comparator (const C &xs) | |
Construct an index comparator holding a reference to the specified container. | |
bool | operator() (int i, int j) const |
Return true if the value at the first index is sorted in front of the value at the second index; this will depend on the template parameter ascending . | |
Private Attributes | |
const C & | xs_ |