Skip to content

Commit 36c22c1

Browse files
committed
Comments, still debugging
1 parent cf58058 commit 36c22c1

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

stan/math/rev/constraint/stochastic_column_constrain.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ namespace math {
1717

1818
/**
1919
* Return a column stochastic matrix.
20-
* The transform is based on a centered stick-breaking process.
20+
* The transform is defined using the inverse of the
21+
* isometric log ratio (ILR) transform
2122
*
2223
* @tparam T Type of matrix to constrain
2324
* @param y Free matrix input of dimensionality (K - 1, M)
@@ -71,8 +72,8 @@ inline plain_type_t<T> stochastic_column_constrain(const T& y) {
7172
* and increment the specified log probability reference with
7273
* the log absolute Jacobian determinant of the transform.
7374
*
74-
* The simplex transform is defined through a centered
75-
* stick-breaking process.
75+
* The simplex transform is defined using the inverse of the
76+
* isometric log ratio (ILR) transform
7677
*
7778
* @tparam T type of the matrix to constrain
7879
* @param y Free matrix input of dimensionality N, K.

stan/math/rev/constraint/stochastic_row_constrain.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ inline plain_type_t<T> stochastic_row_constrain(const T& y) {
6767
* and increment the specified log probability reference with
6868
* the log absolute Jacobian determinant of the transform.
6969
*
70-
* The simplex transform is defined through a centered
71-
* stick-breaking process.
70+
* The simplex transform is defined using the inverse of the
71+
* isometric log ratio (ILR) transform
7272
*
7373
* @tparam T type of the matrix to constrain
7474
* @param y Free matrix input of dimensionality (N, K).

0 commit comments

Comments
 (0)