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

◆ sort_asc() [2/3]

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

Return the specified standard vector in ascending order.

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

Definition at line 22 of file sort_asc.hpp.