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

◆ stochastic_column_constrain() [1/6]

template<typename Mat , require_eigen_matrix_dynamic_t< Mat > * = nullptr, require_not_st_var< Mat > * = nullptr>
plain_type_t< Mat > stan::math::stochastic_column_constrain ( const Mat &  y)
inline

Return a column stochastic matrix.

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

Template Parameters
Mattype of the Matrix
Parameters
yFree Matrix input of dimensionality (K - 1, M)
Returns
Matrix with simplex columns of dimensionality (K, M)

Definition at line 27 of file stochastic_column_constrain.hpp.