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

◆ value_of() [4/7]

template<typename T , require_st_arithmetic< T > * = nullptr>
decltype(auto) stan::math::value_of ( T &&  x)
inline

Inputs that are arithmetic types or containers of airthmetric types are returned from value_of unchanged.

Template Parameters
TInput type
Parameters
[in]xInput argument
Returns
if T is an rvalue, use x's move constructor to return a new type. else if x is an lvalue return x as a reference.

Definition at line 28 of file value_of.hpp.