Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Arguments without vars contribute zero to the total number of vars.
Return the running total number of vars plus the number of vars in the remaining arguments.
Arith | An object that is either arithmetic or holds arithmetic types |
Pargs | Types of remaining arguments |
[in] | count | The current count of the number of vars |
[in] | x | An arithmetic value or container |
[in] | args | objects to be forwarded to recursive call of count_vars_impl |
Definition at line 129 of file count_vars.hpp.