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

◆ sort_desc() [2/3]

template<typename T >
std::vector< T > stan::math::sort_desc ( std::vector< T >  xs)
inline

Return the specified standard vector in descending order.

Template Parameters
TType of elements contained in vector.
Parameters
xsVector to order.
Returns
Vector in descending order.
Exceptions
std::domain_errorIf any of the values are NaN.

Definition at line 23 of file sort_desc.hpp.