Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return a row stochastic matrix.
If the Jacobian
parameter is true
, the log density accumulator is incremented with the log absolute Jacobian determinant of the transform. All of the transforms are specified with their Jacobians in the Stan Reference Manual chapter Constraint Transforms.
Jacobian | if true , increment log density accumulator with log absolute Jacobian determinant of constraining transform |
Mat | A type inheriting from Eigen::DenseBase or a var_value with inner type inheriting from Eigen::DenseBase with compile time dynamic rows and dynamic columns |
[in] | y | free matrix |
[in,out] | lp | log density accumulator |
Definition at line 93 of file stochastic_row_constrain.hpp.