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

◆ stochastic_column_constrain() [5/6]

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

Return a column stochastic matrix.

The transform is based on a centered stick-breaking process.

Template Parameters
TType of matrix to constrain
Parameters
yFree matrix input of dimensionality (K - 1, M)
Returns
matrix of column simplexes of dimensionality (K, M)

Definition at line 27 of file stochastic_column_constrain.hpp.