Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ stochastic_column_constrain() [7/7]

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

Return a column stochastic matrix and increment the specified log probability reference with the log absolute Jacobian determinant of the transform.

The simplex transform is defined using the inverse of the isometric log ratio (ILR) transform

Template Parameters
Ttype of the matrix to constrain
Parameters
yFree matrix input of dimensionality N, K.
lpLog probability reference to increment.
Returns
Matrix of stochastic columns of dimensionality (N + 1, K).

Definition at line 75 of file stochastic_column_constrain.hpp.