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

◆ reverse() [1/4]

template<typename T_x , require_all_kernel_expressions_and_none_scalar_t< T_x > * = nullptr>
auto stan::math::reverse ( T_x &&  x)
inline

Return reversed view into the specified vector or row vector.

Template Parameters
Ttype of expression
Parameters
xvector or row vector to reverse
Returns
reversed vector or row vector

Definition at line 20 of file reverse.hpp.