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

◆ sort_asc() [3/3]

template<typename EigVec , require_eigen_vector_t< EigVec > * = nullptr>
plain_type_t< EigVec > stan::math::sort_asc ( EigVec &&  xs)
inline

Return the specified vector in ascending order.

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

Definition at line 38 of file sort_asc.hpp.