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

◆ count_vars_impl() [4/6]

template<typename... Pargs>
size_t stan::math::internal::count_vars_impl ( size_t  count,
const var x,
Pargs &&...  args 
)
inline

Add one to the running total number of vars, count the number of vars in the remaining arguments and return the result.

Template Parameters
PargsTypes of remaining arguments
Parameters
[in]countThe current count of the number of vars
[in]xA var
[in]argsobjects to be forwarded to recursive call of count_vars_impl

Definition at line 109 of file count_vars.hpp.