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

◆ deep_copy_vars() [6/6]

template<typename Tuple , require_tuple_t< Tuple > * = nullptr>
auto stan::math::deep_copy_vars ( Tuple &&  arg)
inline

Copy the vars in a tuple but reallocate new varis for them.

Template Parameters
TupleA tuple type
Parameters
argA tuple containing arguments to copy
Returns
A tuple containing copied arguments

Definition at line 94 of file deep_copy_vars.hpp.