Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ reverse() [2/4]

template<typename T , require_all_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_any_var_t< T > * = nullptr>
auto stan::math::reverse ( const T &  m)
inline

Return reversed view into the specified vector or row vector.

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

Definition at line 23 of file reverse.hpp.