Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ stochastic_row_constrain() [5/6]

template<typename T , require_rev_matrix_t< T > * = nullptr>
plain_type_t< T > stan::math::stochastic_row_constrain ( const T &  y)
inline

Return a row stochastic matrix.

Template Parameters
TType of matrix to constrain
Parameters
yFree vector input of dimensionality (N, K - 1)
Returns
Matrix with Simplexes along the rows of dimensionality (N, K)

Definition at line 26 of file stochastic_row_constrain.hpp.