Return a row stochastic matrix.
This overload handles looping over the elements of a standard vector.
- Template Parameters
-
T | A standard vector with inner type inheriting from Eigen::DenseBase or a var_value with inner type inheriting from Eigen::DenseBase with compile time dynamic rows and dynamic columns |
- Parameters
-
[in] | y | free vector with matrices of size (N, K - 1) |
- Returns
- vector of matrices with simplex rows of dimensionality (N, K)
- Template Parameters
-
T | Type of matrix to constrain |
- Parameters
-
y | Free vector input of dimensionality (N, K - 1) |
- Returns
- Matrix with Simplexes along the rows of dimensionality (N, K)
Definition at line 71 of file stochastic_row_constrain.hpp.