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

◆ reverse() [3/4]

template<typename T >
std::vector< T > stan::math::reverse ( const std::vector< T > &  x)
inline

Return a copy of the specified array in reversed order.

Template Parameters
Ttype of elements in the array
Parameters
xarray to reverse
Returns
Array in reversed order.

Definition at line 20 of file reverse.hpp.