Return a vector or matrix with sum zero corresponding to the specified free input.
This is a linear transform, with no Jacobian.
- Template Parameters
-
| T | type of the input, either a vector or a matrix |
| Lp | unused |
- Parameters
-
| y | Free vector or matrix |
| lp | unused |
- Returns
- Zero-sum vector or matrix which is one larger in each dimension
This is a linear transform, with no Jacobian.
- Template Parameters
-
| Jacobian | unused |
| T | type of the input |
| Lp | unused |
- Parameters
-
| [in] | y | free vector or matrix |
| [in,out] | lp | unused |
- Returns
- Zero-sum vector or matrix which is one larger in each dimension
Definition at line 126 of file sum_to_zero_constrain.hpp.