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

◆ stochastic_column_free() [1/2]

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

Return an unconstrained matrix that when transformed produces the specified columnwise stochastic matrix.

It applies to a stochastic matrix of dimensionality (N, K) and produces an unconstrained vector of dimensionality (N - 1, K).

Template Parameters
Mattype of the Matrix
Parameters
yColumnwise stochastic matrix input of dimensionality (N, K)

Definition at line 22 of file stochastic_column_free.hpp.