Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ operator()()

template<bool ascending, typename C >
bool stan::math::internal::index_comparator< ascending, C >::operator() ( int  i,
int  j 
) const
inline

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.

Parameters
iIndex of first value for comparison
jIndex of second value for comparison

Definition at line 42 of file sort_indices.hpp.