![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
The reverse pass backprop for the sum_to_zero_constrain on vectors.
This is separated out so it can also be called by simplex_constrain.
| T | type of the adjoint vector |
| y_adj | The adjoint of the free vector (size N) |
| z_adj | The adjoint of the zero-sum vector (size N + 1) |
Definition at line 28 of file sum_to_zero_constrain.hpp.