Skip to content

Commit e5ec664

Browse files
committed
Missing updates
1 parent 24d1d7e commit e5ec664

File tree

3 files changed

+28
-19
lines changed

3 files changed

+28
-19
lines changed

src/reference-manual/expressions.qmd

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ any of the following.
151151
int, real, complex, vector, simplex, unit_vector,
152152
sum_to_zero_vector, ordered, positive_ordered,
153153
row_vector, matrix, cholesky_factor_corr,
154+
column_stochastic_matrix,row_stochastic_matrix,
154155
cholesky_factor_cov, corr_matrix, cov_matrix, array
155156
```
156157

@@ -1071,25 +1072,27 @@ the following table shows the mapping from types to their primitive types.
10711072
result types declared in terms of primitive types plus array
10721073
dimensionality.*
10731074

1074-
| type | primitive type |
1075-
| :--------------------- | :------------------- |
1076-
| `int` | `int` |
1077-
| `real` | `real` |
1078-
| `vector` | `vector` |
1079-
| `simplex` | `vector` |
1080-
| `unit_vector` | `vector` |
1081-
| `sum_to_zero_vector` | `vector` |
1082-
| `ordered` | `vector` |
1083-
| `positive_ordered` | `vector` |
1084-
| `row_vector` | `row_vector` |
1085-
| `matrix` | `matrix` |
1086-
| `cov_matrix` | `matrix` |
1087-
| `corr_matrix` | `matrix` |
1088-
| `cholesky_factor_cov` | `matrix` |
1089-
| `cholesky_factor_corr` | `matrix` |
1090-
| `complex_vector` | `complex_vector` |
1091-
| `complex_row_vector` | `complex_row_vector` |
1092-
| `complex_matrix` | `complex_matrix` |
1075+
| type | primitive type |
1076+
| :------------------------- | :------------------- |
1077+
| `int` | `int` |
1078+
| `real` | `real` |
1079+
| `vector` | `vector` |
1080+
| `simplex` | `vector` |
1081+
| `unit_vector` | `vector` |
1082+
| `sum_to_zero_vector` | `vector` |
1083+
| `ordered` | `vector` |
1084+
| `positive_ordered` | `vector` |
1085+
| `row_vector` | `row_vector` |
1086+
| `matrix` | `matrix` |
1087+
| `cov_matrix` | `matrix` |
1088+
| `corr_matrix` | `matrix` |
1089+
| `cholesky_factor_cov` | `matrix` |
1090+
| `cholesky_factor_corr` | `matrix` |
1091+
| `column_stochastic_matrix` | `matrix` |
1092+
| `row_stochastic_matrix` | `matrix` |
1093+
| `complex_vector` | `complex_vector` |
1094+
| `complex_row_vector` | `complex_row_vector` |
1095+
| `complex_matrix` | `complex_matrix` |
10931096

10941097

10951098
A full implementation type consists of a primitive implementation type

src/reference-manual/types.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,6 +1764,10 @@ dimensions `matrix[K, K]` types.
17641764
+---------------------+-------------------------+----------------------------------------------+
17651765
| | | `matrix[M, N]<offset=O, multiplier=M>` |
17661766
+---------------------+-------------------------+----------------------------------------------+
1767+
| | | `column_stochastic_matrix[M, N]` |
1768+
+---------------------+-------------------------+----------------------------------------------+
1769+
| | | `row_stochastic_matrix[M, N]` |
1770+
+---------------------+-------------------------+----------------------------------------------+
17671771
| | `matrix[K, K]` | `corr_matrix[K]` |
17681772
+---------------------+-------------------------+----------------------------------------------+
17691773
| | `matrix[K, K]` | `cov_matrix[K]` |

src/theming/stan.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
<item>simplex</item>
4343
<item>unit_vector</item>
4444
<item>sum_to_zero_vector</item>
45+
<item>column_stochastic_matrix</item>
46+
<item>row_stochastic_matrix</item>
4547
<item>row_vector</item>
4648
<item>matrix</item>
4749
<item>array</item>

0 commit comments

Comments
 (0)