![]() |
Stan Math Library
5.0.0
Automatic Differentiation
|
void stan::math::internal::sum_to_zero_vector_backprop | ( | T && | y_adj, |
const Eigen::VectorXd & | z_adj | ||
) |
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.