Accumulate adjoints from x (an Eigen type containing vars) into storage pointed to by dest, increment the adjoint storage pointer, recursively accumulate the adjoints of the rest of the arguments, and return final position of storage pointer.
- Template Parameters
-
EigT | Type derived from EigenBase containing vars. |
Pargs | Types of remaining arguments |
- Parameters
-
dest | Pointer to where adjoints are to be accumulated |
x | An eigen type holding vars to accumulate over |
args | Further args to accumulate over |
- Returns
- Final position of adjoint storage pointer
Definition at line 119 of file accumulate_adjoints.hpp.