Stan Math Library
4.9.0
Automatic Differentiation
|
|
inlinestatic |
Reset all adjoint values in the top nested portion of the stack to zero.
It is preferred to use the nested_rev_autodiff
class for nested autodiff class as it handles recovery of memory automatically.
Definition at line 20 of file set_zero_all_adjoints_nested.hpp.