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

◆ reverse() [4/4]

template<typename T , typename = require_vector_t<T>>
auto stan::math::reverse ( const T &  x)
inline

Return a copy of the specified vector or row vector in reversed order.

Template Parameters
Ttype of container (vector or row vector)
Parameters
xvector or row vector to reverse
Returns
Vector or row vector in reversed order.

Definition at line 35 of file reverse.hpp.