Stan Math Library
2.20.0
reverse mode automatic differentiation
stan
math
prim
mat.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_MAT_HPP
2
#define STAN_MATH_PRIM_MAT_HPP
3
4
#include <
stan/math/prim/mat/fun/Eigen.hpp
>
5
#include <
stan/math/prim/meta.hpp
>
6
7
#include <
stan/math/prim/mat/err/check_cholesky_factor.hpp
>
8
#include <
stan/math/prim/mat/err/check_cholesky_factor_corr.hpp
>
9
#include <
stan/math/prim/mat/err/check_column_index.hpp
>
10
#include <
stan/math/prim/mat/err/check_consistent_size_mvt.hpp
>
11
#include <
stan/math/prim/mat/err/check_consistent_sizes_mvt.hpp
>
12
#include <
stan/math/prim/mat/err/check_corr_matrix.hpp
>
13
#include <
stan/math/prim/mat/err/check_cov_matrix.hpp
>
14
#include <
stan/math/prim/mat/err/check_finite.hpp
>
15
#include <
stan/math/prim/mat/err/check_ldlt_factor.hpp
>
16
#include <
stan/math/prim/mat/err/check_lower_triangular.hpp
>
17
#include <
stan/math/prim/mat/err/check_matching_dims.hpp
>
18
#include <
stan/math/prim/mat/err/check_multiplicable.hpp
>
19
#include <
stan/math/prim/mat/err/check_ordered.hpp
>
20
#include <
stan/math/prim/mat/err/check_pos_definite.hpp
>
21
#include <
stan/math/prim/mat/err/check_pos_semidefinite.hpp
>
22
#include <
stan/math/prim/mat/err/check_positive_ordered.hpp
>
23
#include <
stan/math/prim/mat/err/check_range.hpp
>
24
#include <
stan/math/prim/mat/err/check_row_index.hpp
>
25
#include <
stan/math/prim/mat/err/check_simplex.hpp
>
26
#include <
stan/math/prim/mat/err/check_spsd_matrix.hpp
>
27
#include <
stan/math/prim/mat/err/check_square.hpp
>
28
#include <
stan/math/prim/mat/err/check_std_vector_index.hpp
>
29
#include <
stan/math/prim/mat/err/check_symmetric.hpp
>
30
#include <
stan/math/prim/mat/err/check_unit_vector.hpp
>
31
#include <
stan/math/prim/mat/err/check_vector.hpp
>
32
#include <
stan/math/prim/mat/err/constraint_tolerance.hpp
>
33
#include <
stan/math/prim/mat/err/is_cholesky_factor_corr.hpp
>
34
#include <
stan/math/prim/mat/err/is_cholesky_factor.hpp
>
35
#include <
stan/math/prim/mat/err/is_column_index.hpp
>
36
#include <
stan/math/prim/mat/err/is_corr_matrix.hpp
>
37
#include <
stan/math/prim/mat/err/is_ldlt_factor.hpp
>
38
#include <
stan/math/prim/mat/err/is_lower_triangular.hpp
>
39
#include <
stan/math/prim/mat/err/is_mat_finite.hpp
>
40
#include <
stan/math/prim/mat/err/is_matching_dims.hpp
>
41
#include <
stan/math/prim/mat/err/is_pos_definite.hpp
>
42
#include <
stan/math/prim/mat/err/is_square.hpp
>
43
#include <
stan/math/prim/mat/err/is_symmetric.hpp
>
44
#include <
stan/math/prim/mat/err/is_unit_vector.hpp
>
45
#include <
stan/math/prim/mat/err/validate_non_negative_index.hpp
>
46
47
#include <
stan/math/prim/mat/fun/LDLT_factor.hpp
>
48
#include <
stan/math/prim/mat/fun/Phi.hpp
>
49
#include <
stan/math/prim/mat/fun/Phi_approx.hpp
>
50
#include <
stan/math/prim/mat/fun/accumulator.hpp
>
51
#include <
stan/math/prim/mat/fun/acos.hpp
>
52
#include <
stan/math/prim/mat/fun/acosh.hpp
>
53
#include <
stan/math/prim/mat/fun/add.hpp
>
54
#include <
stan/math/prim/mat/fun/add_diag.hpp
>
55
#include <
stan/math/prim/mat/fun/append_array.hpp
>
56
#include <
stan/math/prim/mat/fun/append_col.hpp
>
57
#include <
stan/math/prim/mat/fun/append_row.hpp
>
58
#include <
stan/math/prim/mat/fun/asin.hpp
>
59
#include <
stan/math/prim/mat/fun/asinh.hpp
>
60
#include <
stan/math/prim/mat/fun/assign.hpp
>
61
#include <
stan/math/prim/mat/fun/atan.hpp
>
62
#include <
stan/math/prim/mat/fun/atanh.hpp
>
63
#include <
stan/math/prim/mat/fun/autocorrelation.hpp
>
64
#include <
stan/math/prim/mat/fun/autocovariance.hpp
>
65
#include <
stan/math/prim/mat/fun/block.hpp
>
66
#include <
stan/math/prim/mat/fun/cbrt.hpp
>
67
#include <
stan/math/prim/mat/fun/ceil.hpp
>
68
#include <
stan/math/prim/mat/fun/chol2inv.hpp
>
69
#include <
stan/math/prim/mat/fun/cholesky_corr_constrain.hpp
>
70
#include <
stan/math/prim/mat/fun/cholesky_corr_free.hpp
>
71
#include <
stan/math/prim/mat/fun/cholesky_decompose.hpp
>
72
#include <
stan/math/prim/mat/fun/cholesky_factor_constrain.hpp
>
73
#include <
stan/math/prim/mat/fun/cholesky_factor_free.hpp
>
74
#include <
stan/math/prim/mat/fun/col.hpp
>
75
#include <
stan/math/prim/mat/fun/cols.hpp
>
76
#include <
stan/math/prim/mat/fun/columns_dot_product.hpp
>
77
#include <
stan/math/prim/mat/fun/columns_dot_self.hpp
>
78
#include <
stan/math/prim/mat/fun/common_type.hpp
>
79
#include <
stan/math/prim/mat/fun/corr_matrix_constrain.hpp
>
80
#include <
stan/math/prim/mat/fun/corr_matrix_free.hpp
>
81
#include <
stan/math/prim/mat/fun/cos.hpp
>
82
#include <
stan/math/prim/mat/fun/cosh.hpp
>
83
#include <
stan/math/prim/mat/fun/cov_exp_quad.hpp
>
84
#include <
stan/math/prim/mat/fun/cov_matrix_constrain.hpp
>
85
#include <
stan/math/prim/mat/fun/cov_matrix_constrain_lkj.hpp
>
86
#include <
stan/math/prim/mat/fun/cov_matrix_free.hpp
>
87
#include <
stan/math/prim/mat/fun/cov_matrix_free_lkj.hpp
>
88
#include <
stan/math/prim/mat/fun/crossprod.hpp
>
89
#include <
stan/math/prim/mat/fun/csr_extract_u.hpp
>
90
#include <
stan/math/prim/mat/fun/csr_extract_v.hpp
>
91
#include <
stan/math/prim/mat/fun/csr_extract_w.hpp
>
92
#include <
stan/math/prim/mat/fun/csr_matrix_times_vector.hpp
>
93
#include <
stan/math/prim/mat/fun/csr_to_dense_matrix.hpp
>
94
#include <
stan/math/prim/mat/fun/csr_u_to_z.hpp
>
95
#include <
stan/math/prim/mat/fun/cumulative_sum.hpp
>
96
#include <
stan/math/prim/mat/fun/determinant.hpp
>
97
#include <
stan/math/prim/mat/fun/diag_matrix.hpp
>
98
#include <
stan/math/prim/mat/fun/diag_post_multiply.hpp
>
99
#include <
stan/math/prim/mat/fun/diag_pre_multiply.hpp
>
100
#include <
stan/math/prim/mat/fun/diagonal.hpp
>
101
#include <
stan/math/prim/mat/fun/digamma.hpp
>
102
#include <
stan/math/prim/mat/fun/dims.hpp
>
103
#include <
stan/math/prim/mat/fun/distance.hpp
>
104
#include <
stan/math/prim/mat/fun/divide.hpp
>
105
#include <
stan/math/prim/mat/fun/dot_product.hpp
>
106
#include <
stan/math/prim/mat/fun/dot_self.hpp
>
107
#include <
stan/math/prim/mat/fun/eigenvalues_sym.hpp
>
108
#include <
stan/math/prim/mat/fun/eigenvectors_sym.hpp
>
109
#include <
stan/math/prim/mat/fun/elt_divide.hpp
>
110
#include <
stan/math/prim/mat/fun/elt_multiply.hpp
>
111
#include <
stan/math/prim/mat/fun/erf.hpp
>
112
#include <
stan/math/prim/mat/fun/erfc.hpp
>
113
#include <
stan/math/prim/mat/fun/exp.hpp
>
114
#include <
stan/math/prim/mat/fun/exp2.hpp
>
115
#include <
stan/math/prim/mat/fun/expm1.hpp
>
116
#include <
stan/math/prim/mat/fun/fabs.hpp
>
117
#include <
stan/math/prim/mat/fun/factor_U.hpp
>
118
#include <
stan/math/prim/mat/fun/factor_cov_matrix.hpp
>
119
#include <
stan/math/prim/mat/fun/fill.hpp
>
120
#include <
stan/math/prim/mat/fun/floor.hpp
>
121
#include <
stan/math/prim/mat/fun/get_base1.hpp
>
122
#include <
stan/math/prim/mat/fun/get_base1_lhs.hpp
>
123
#include <
stan/math/prim/mat/fun/get_lp.hpp
>
124
#include <
stan/math/prim/mat/fun/gp_dot_prod_cov.hpp
>
125
#include <
stan/math/prim/mat/fun/gp_exponential_cov.hpp
>
126
#include <
stan/math/prim/mat/fun/gp_matern32_cov.hpp
>
127
#include <
stan/math/prim/mat/fun/gp_matern52_cov.hpp
>
128
#include <
stan/math/prim/mat/fun/gp_periodic_cov.hpp
>
129
#include <
stan/math/prim/mat/fun/head.hpp
>
130
#include <
stan/math/prim/mat/fun/initialize.hpp
>
131
#include <
stan/math/prim/mat/fun/inv.hpp
>
132
#include <
stan/math/prim/mat/fun/inv_Phi.hpp
>
133
#include <
stan/math/prim/mat/fun/inv_cloglog.hpp
>
134
#include <
stan/math/prim/mat/fun/inv_logit.hpp
>
135
#include <
stan/math/prim/mat/fun/inv_sqrt.hpp
>
136
#include <
stan/math/prim/mat/fun/inv_square.hpp
>
137
#include <
stan/math/prim/mat/fun/inverse.hpp
>
138
#include <
stan/math/prim/mat/fun/inverse_spd.hpp
>
139
#include <
stan/math/prim/mat/fun/lgamma.hpp
>
140
#include <
stan/math/prim/mat/fun/log.hpp
>
141
#include <
stan/math/prim/mat/fun/log10.hpp
>
142
#include <
stan/math/prim/mat/fun/log1m.hpp
>
143
#include <
stan/math/prim/mat/fun/log1m_exp.hpp
>
144
#include <
stan/math/prim/mat/fun/log1m_inv_logit.hpp
>
145
#include <
stan/math/prim/mat/fun/log1p.hpp
>
146
#include <
stan/math/prim/mat/fun/log1p_exp.hpp
>
147
#include <
stan/math/prim/mat/fun/log2.hpp
>
148
#include <
stan/math/prim/mat/fun/log_determinant.hpp
>
149
#include <
stan/math/prim/mat/fun/log_determinant_ldlt.hpp
>
150
#include <
stan/math/prim/mat/fun/log_determinant_spd.hpp
>
151
#include <
stan/math/prim/mat/fun/log_inv_logit.hpp
>
152
#include <
stan/math/prim/mat/fun/log_mix.hpp
>
153
#include <
stan/math/prim/mat/fun/log_softmax.hpp
>
154
#include <
stan/math/prim/mat/fun/log_sum_exp.hpp
>
155
#include <
stan/math/prim/mat/fun/logit.hpp
>
156
#include <
stan/math/prim/mat/fun/make_nu.hpp
>
157
#include <
stan/math/prim/mat/fun/matrix_exp.hpp
>
158
#include <
stan/math/prim/mat/fun/matrix_exp_multiply.hpp
>
159
#include <
stan/math/prim/mat/fun/max.hpp
>
160
#include <
stan/math/prim/mat/fun/mdivide_left.hpp
>
161
#include <
stan/math/prim/mat/fun/mdivide_left_ldlt.hpp
>
162
#include <
stan/math/prim/mat/fun/mdivide_left_spd.hpp
>
163
#include <
stan/math/prim/mat/fun/mdivide_left_tri.hpp
>
164
#include <
stan/math/prim/mat/fun/mdivide_left_tri_low.hpp
>
165
#include <
stan/math/prim/mat/fun/mdivide_right.hpp
>
166
#include <
stan/math/prim/mat/fun/mdivide_right_ldlt.hpp
>
167
#include <
stan/math/prim/mat/fun/mdivide_right_spd.hpp
>
168
#include <
stan/math/prim/mat/fun/mdivide_right_tri.hpp
>
169
#include <
stan/math/prim/mat/fun/mdivide_right_tri_low.hpp
>
170
#include <
stan/math/prim/mat/fun/mean.hpp
>
171
#include <
stan/math/prim/mat/fun/min.hpp
>
172
#include <
stan/math/prim/mat/fun/minus.hpp
>
173
#include <
stan/math/prim/mat/fun/multiply.hpp
>
174
#include <
stan/math/prim/mat/fun/multiply_lower_tri_self_transpose.hpp
>
175
#include <
stan/math/prim/mat/fun/num_elements.hpp
>
176
#include <
stan/math/prim/mat/fun/ordered_constrain.hpp
>
177
#include <
stan/math/prim/mat/fun/ordered_free.hpp
>
178
#include <
stan/math/prim/mat/fun/positive_ordered_constrain.hpp
>
179
#include <
stan/math/prim/mat/fun/positive_ordered_free.hpp
>
180
#include <
stan/math/prim/mat/fun/prod.hpp
>
181
#include <
stan/math/prim/mat/fun/promote_common.hpp
>
182
#include <
stan/math/prim/mat/fun/promote_elements.hpp
>
183
#include <
stan/math/prim/mat/fun/promote_scalar.hpp
>
184
#include <
stan/math/prim/mat/fun/promote_scalar_type.hpp
>
185
#include <
stan/math/prim/mat/fun/qr_Q.hpp
>
186
#include <
stan/math/prim/mat/fun/qr_R.hpp
>
187
#include <
stan/math/prim/mat/fun/qr_thin_Q.hpp
>
188
#include <
stan/math/prim/mat/fun/qr_thin_R.hpp
>
189
#include <
stan/math/prim/mat/fun/quad_form.hpp
>
190
#include <
stan/math/prim/mat/fun/quad_form_diag.hpp
>
191
#include <
stan/math/prim/mat/fun/quad_form_sym.hpp
>
192
#include <
stan/math/prim/mat/fun/rank.hpp
>
193
#include <
stan/math/prim/mat/fun/read_corr_L.hpp
>
194
#include <
stan/math/prim/mat/fun/read_corr_matrix.hpp
>
195
#include <
stan/math/prim/mat/fun/read_cov_L.hpp
>
196
#include <
stan/math/prim/mat/fun/read_cov_matrix.hpp
>
197
#include <
stan/math/prim/mat/fun/rep_matrix.hpp
>
198
#include <
stan/math/prim/mat/fun/rep_row_vector.hpp
>
199
#include <
stan/math/prim/mat/fun/rep_vector.hpp
>
200
#include <
stan/math/prim/mat/fun/resize.hpp
>
201
#include <
stan/math/prim/mat/fun/round.hpp
>
202
#include <
stan/math/prim/mat/fun/row.hpp
>
203
#include <
stan/math/prim/mat/fun/rows.hpp
>
204
#include <
stan/math/prim/mat/fun/rows_dot_product.hpp
>
205
#include <
stan/math/prim/mat/fun/rows_dot_self.hpp
>
206
#include <
stan/math/prim/mat/fun/scale_matrix_exp_multiply.hpp
>
207
#include <
stan/math/prim/mat/fun/sd.hpp
>
208
#include <
stan/math/prim/mat/fun/segment.hpp
>
209
#include <
stan/math/prim/mat/fun/simplex_constrain.hpp
>
210
#include <
stan/math/prim/mat/fun/simplex_free.hpp
>
211
#include <
stan/math/prim/mat/fun/sin.hpp
>
212
#include <
stan/math/prim/mat/fun/singular_values.hpp
>
213
#include <
stan/math/prim/mat/fun/sinh.hpp
>
214
#include <
stan/math/prim/mat/fun/size.hpp
>
215
#include <
stan/math/prim/mat/fun/softmax.hpp
>
216
#include <
stan/math/prim/mat/fun/sort_asc.hpp
>
217
#include <
stan/math/prim/mat/fun/sort_desc.hpp
>
218
#include <
stan/math/prim/mat/fun/sort_indices.hpp
>
219
#include <
stan/math/prim/mat/fun/sort_indices_asc.hpp
>
220
#include <
stan/math/prim/mat/fun/sort_indices_desc.hpp
>
221
#include <
stan/math/prim/mat/fun/sqrt.hpp
>
222
#include <
stan/math/prim/mat/fun/square.hpp
>
223
#include <
stan/math/prim/mat/fun/squared_distance.hpp
>
224
#include <
stan/math/prim/mat/fun/stan_print.hpp
>
225
#include <
stan/math/prim/mat/fun/sub_col.hpp
>
226
#include <
stan/math/prim/mat/fun/sub_row.hpp
>
227
#include <
stan/math/prim/mat/fun/subtract.hpp
>
228
#include <
stan/math/prim/mat/fun/sum.hpp
>
229
#include <
stan/math/prim/mat/fun/tail.hpp
>
230
#include <
stan/math/prim/mat/fun/tan.hpp
>
231
#include <
stan/math/prim/mat/fun/tanh.hpp
>
232
#include <
stan/math/prim/mat/fun/tcrossprod.hpp
>
233
#include <
stan/math/prim/mat/fun/tgamma.hpp
>
234
#include <
stan/math/prim/mat/fun/to_array_1d.hpp
>
235
#include <
stan/math/prim/mat/fun/to_array_2d.hpp
>
236
#include <
stan/math/prim/mat/fun/to_matrix.hpp
>
237
#include <
stan/math/prim/mat/fun/to_row_vector.hpp
>
238
#include <
stan/math/prim/mat/fun/to_vector.hpp
>
239
#include <
stan/math/prim/mat/fun/trace.hpp
>
240
#include <
stan/math/prim/mat/fun/trace_gen_inv_quad_form_ldlt.hpp
>
241
#include <
stan/math/prim/mat/fun/trace_gen_quad_form.hpp
>
242
#include <
stan/math/prim/mat/fun/trace_inv_quad_form_ldlt.hpp
>
243
#include <
stan/math/prim/mat/fun/trace_quad_form.hpp
>
244
#include <
stan/math/prim/mat/fun/transpose.hpp
>
245
#include <
stan/math/prim/mat/fun/trigamma.hpp
>
246
#include <
stan/math/prim/mat/fun/trunc.hpp
>
247
#include <
stan/math/prim/mat/fun/typedefs.hpp
>
248
#include <
stan/math/prim/mat/fun/unit_vector_constrain.hpp
>
249
#include <
stan/math/prim/mat/fun/unit_vector_free.hpp
>
250
#include <
stan/math/prim/mat/fun/value_of.hpp
>
251
#include <
stan/math/prim/mat/fun/value_of_rec.hpp
>
252
#include <
stan/math/prim/mat/fun/variance.hpp
>
253
#include <
stan/math/prim/mat/fun/welford_covar_estimator.hpp
>
254
#include <
stan/math/prim/mat/fun/welford_var_estimator.hpp
>
255
256
#include <
stan/math/prim/mat/functor/finite_diff_gradient.hpp
>
257
#include <
stan/math/prim/mat/functor/finite_diff_gradient_auto.hpp
>
258
#include <
stan/math/prim/mat/functor/finite_diff_hessian.hpp
>
259
#include <
stan/math/prim/mat/functor/finite_diff_hessian_auto.hpp
>
260
#include <
stan/math/prim/mat/functor/finite_diff_hessian_helper.hpp
>
261
#include <
stan/math/prim/mat/functor/map_rect.hpp
>
262
#include <
stan/math/prim/mat/functor/map_rect_combine.hpp
>
263
#include <
stan/math/prim/mat/functor/map_rect_concurrent.hpp
>
264
#include <
stan/math/prim/mat/functor/map_rect_reduce.hpp
>
265
#include <
stan/math/prim/mat/prob/bernoulli_logit_glm_log.hpp
>
266
#include <
stan/math/prim/mat/prob/bernoulli_logit_glm_lpmf.hpp
>
267
#include <
stan/math/prim/mat/prob/bernoulli_logit_glm_rng.hpp
>
268
#include <
stan/math/prim/mat/prob/categorical_log.hpp
>
269
#include <
stan/math/prim/mat/prob/categorical_logit_glm_lpmf.hpp
>
270
#include <
stan/math/prim/mat/prob/categorical_logit_log.hpp
>
271
#include <
stan/math/prim/mat/prob/categorical_logit_lpmf.hpp
>
272
#include <
stan/math/prim/mat/prob/categorical_logit_rng.hpp
>
273
#include <
stan/math/prim/mat/prob/categorical_lpmf.hpp
>
274
#include <
stan/math/prim/mat/prob/categorical_rng.hpp
>
275
#include <
stan/math/prim/mat/prob/dirichlet_log.hpp
>
276
#include <
stan/math/prim/mat/prob/dirichlet_lpmf.hpp
>
277
#include <
stan/math/prim/mat/prob/dirichlet_rng.hpp
>
278
#include <
stan/math/prim/mat/prob/gaussian_dlm_obs_log.hpp
>
279
#include <
stan/math/prim/mat/prob/gaussian_dlm_obs_lpdf.hpp
>
280
#include <
stan/math/prim/mat/prob/gaussian_dlm_obs_rng.hpp
>
281
#include <
stan/math/prim/mat/prob/inv_wishart_log.hpp
>
282
#include <
stan/math/prim/mat/prob/inv_wishart_lpdf.hpp
>
283
#include <
stan/math/prim/mat/prob/inv_wishart_rng.hpp
>
284
#include <
stan/math/prim/mat/prob/lkj_corr_cholesky_log.hpp
>
285
#include <
stan/math/prim/mat/prob/lkj_corr_cholesky_lpdf.hpp
>
286
#include <
stan/math/prim/mat/prob/lkj_corr_cholesky_rng.hpp
>
287
#include <
stan/math/prim/mat/prob/lkj_corr_log.hpp
>
288
#include <
stan/math/prim/mat/prob/lkj_corr_lpdf.hpp
>
289
#include <
stan/math/prim/mat/prob/lkj_corr_rng.hpp
>
290
#include <
stan/math/prim/mat/prob/lkj_cov_log.hpp
>
291
#include <
stan/math/prim/mat/prob/lkj_cov_lpdf.hpp
>
292
#include <
stan/math/prim/mat/prob/matrix_normal_prec_log.hpp
>
293
#include <
stan/math/prim/mat/prob/matrix_normal_prec_lpdf.hpp
>
294
#include <
stan/math/prim/mat/prob/matrix_normal_prec_rng.hpp
>
295
#include <
stan/math/prim/mat/prob/multi_gp_cholesky_log.hpp
>
296
#include <
stan/math/prim/mat/prob/multi_gp_cholesky_lpdf.hpp
>
297
#include <
stan/math/prim/mat/prob/multi_gp_log.hpp
>
298
#include <
stan/math/prim/mat/prob/multi_gp_lpdf.hpp
>
299
#include <
stan/math/prim/mat/prob/multi_normal_cholesky_log.hpp
>
300
#include <
stan/math/prim/mat/prob/multi_normal_cholesky_lpdf.hpp
>
301
#include <
stan/math/prim/mat/prob/multi_normal_cholesky_rng.hpp
>
302
#include <
stan/math/prim/mat/prob/multi_normal_log.hpp
>
303
#include <
stan/math/prim/mat/prob/multi_normal_lpdf.hpp
>
304
#include <
stan/math/prim/mat/prob/multi_normal_prec_log.hpp
>
305
#include <
stan/math/prim/mat/prob/multi_normal_prec_lpdf.hpp
>
306
#include <
stan/math/prim/mat/prob/multi_normal_prec_rng.hpp
>
307
#include <
stan/math/prim/mat/prob/multi_normal_rng.hpp
>
308
#include <
stan/math/prim/mat/prob/multi_student_t_log.hpp
>
309
#include <
stan/math/prim/mat/prob/multi_student_t_lpdf.hpp
>
310
#include <
stan/math/prim/mat/prob/multi_student_t_rng.hpp
>
311
#include <
stan/math/prim/mat/prob/multinomial_log.hpp
>
312
#include <
stan/math/prim/mat/prob/multinomial_lpmf.hpp
>
313
#include <
stan/math/prim/mat/prob/multinomial_rng.hpp
>
314
#include <
stan/math/prim/mat/prob/neg_binomial_2_log_glm_log.hpp
>
315
#include <
stan/math/prim/mat/prob/neg_binomial_2_log_glm_lpmf.hpp
>
316
#include <
stan/math/prim/mat/prob/normal_id_glm_log.hpp
>
317
#include <
stan/math/prim/mat/prob/normal_id_glm_lpdf.hpp
>
318
#include <
stan/math/prim/mat/prob/ordered_logistic_log.hpp
>
319
#include <
stan/math/prim/mat/prob/ordered_logistic_lpmf.hpp
>
320
#include <
stan/math/prim/mat/prob/ordered_logistic_rng.hpp
>
321
#include <
stan/math/prim/mat/prob/ordered_probit_log.hpp
>
322
#include <
stan/math/prim/mat/prob/ordered_probit_lpmf.hpp
>
323
#include <
stan/math/prim/mat/prob/ordered_probit_rng.hpp
>
324
#include <
stan/math/prim/mat/prob/poisson_log_glm_log.hpp
>
325
#include <
stan/math/prim/mat/prob/poisson_log_glm_lpmf.hpp
>
326
#include <
stan/math/prim/mat/prob/wishart_log.hpp
>
327
#include <
stan/math/prim/mat/prob/wishart_lpdf.hpp
>
328
#include <
stan/math/prim/mat/prob/wishart_rng.hpp
>
329
330
#include <
stan/math/prim/mat/vectorize/apply_scalar_unary.hpp
>
331
332
#include <
stan/math/prim/arr.hpp
>
333
334
#endif
ordered_probit_lpmf.hpp
factor_U.hpp
lkj_corr_log.hpp
check_simplex.hpp
multiply.hpp
diagonal.hpp
cols.hpp
tcrossprod.hpp
multi_gp_cholesky_lpdf.hpp
welford_var_estimator.hpp
log_determinant_spd.hpp
check_consistent_sizes_mvt.hpp
promote_scalar_type.hpp
promote_scalar.hpp
finite_diff_hessian.hpp
atanh.hpp
finite_diff_hessian_auto.hpp
multiply_lower_tri_self_transpose.hpp
multi_normal_cholesky_lpdf.hpp
is_lower_triangular.hpp
stan_print.hpp
get_base1_lhs.hpp
cov_matrix_free_lkj.hpp
check_multiplicable.hpp
log_mix.hpp
inv_wishart_rng.hpp
size.hpp
num_elements.hpp
value_of_rec.hpp
mdivide_left_spd.hpp
log_determinant.hpp
prod.hpp
arr.hpp
common_type.hpp
check_positive_ordered.hpp
erf.hpp
matrix_normal_prec_rng.hpp
variance.hpp
transpose.hpp
lkj_corr_cholesky_lpdf.hpp
multi_normal_prec_rng.hpp
csr_to_dense_matrix.hpp
meta.hpp
inv_logit.hpp
sd.hpp
lkj_cov_log.hpp
eigenvectors_sym.hpp
Phi_approx.hpp
crossprod.hpp
is_pos_definite.hpp
log1p.hpp
is_ldlt_factor.hpp
multi_normal_prec_lpdf.hpp
to_array_2d.hpp
exp2.hpp
sinh.hpp
tail.hpp
trace_inv_quad_form_ldlt.hpp
map_rect_concurrent.hpp
check_consistent_size_mvt.hpp
promote_common.hpp
fabs.hpp
check_column_index.hpp
elt_divide.hpp
autocorrelation.hpp
csr_extract_u.hpp
wishart_rng.hpp
multi_student_t_rng.hpp
mdivide_left_tri.hpp
finite_diff_gradient_auto.hpp
atan.hpp
qr_Q.hpp
cov_matrix_free.hpp
check_square.hpp
determinant.hpp
multi_normal_cholesky_log.hpp
sort_asc.hpp
to_array_1d.hpp
segment.hpp
normal_id_glm_lpdf.hpp
bernoulli_logit_glm_log.hpp
multinomial_log.hpp
divide.hpp
finite_diff_gradient.hpp
constraint_tolerance.hpp
gp_dot_prod_cov.hpp
check_matching_dims.hpp
check_cholesky_factor_corr.hpp
corr_matrix_constrain.hpp
check_ordered.hpp
sort_indices.hpp
lgamma.hpp
qr_thin_Q.hpp
check_pos_semidefinite.hpp
sort_indices_asc.hpp
round.hpp
diag_matrix.hpp
cbrt.hpp
autocovariance.hpp
check_lower_triangular.hpp
is_column_index.hpp
check_symmetric.hpp
resize.hpp
is_matching_dims.hpp
cholesky_factor_free.hpp
check_std_vector_index.hpp
matrix_exp_multiply.hpp
poisson_log_glm_lpmf.hpp
mdivide_right_tri.hpp
cosh.hpp
multi_normal_cholesky_rng.hpp
sub_col.hpp
multinomial_rng.hpp
log.hpp
inv_square.hpp
simplex_constrain.hpp
gp_matern52_cov.hpp
check_cov_matrix.hpp
min.hpp
categorical_log.hpp
dirichlet_rng.hpp
multi_student_t_lpdf.hpp
is_unit_vector.hpp
dirichlet_lpmf.hpp
validate_non_negative_index.hpp
gp_exponential_cov.hpp
check_row_index.hpp
gaussian_dlm_obs_rng.hpp
trace.hpp
unit_vector_free.hpp
mdivide_right_spd.hpp
floor.hpp
dims.hpp
mdivide_right_ldlt.hpp
check_ldlt_factor.hpp
matrix_normal_prec_log.hpp
columns_dot_product.hpp
ordered_probit_rng.hpp
check_unit_vector.hpp
squared_distance.hpp
dirichlet_log.hpp
trace_gen_quad_form.hpp
cumulative_sum.hpp
append_array.hpp
initialize.hpp
tan.hpp
multinomial_lpmf.hpp
check_corr_matrix.hpp
multi_gp_log.hpp
scale_matrix_exp_multiply.hpp
LDLT_factor.hpp
trace_gen_inv_quad_form_ldlt.hpp
get_base1.hpp
rep_vector.hpp
softmax.hpp
csr_extract_v.hpp
is_symmetric.hpp
ordered_probit_log.hpp
is_mat_finite.hpp
sort_indices_desc.hpp
cov_matrix_constrain_lkj.hpp
multi_normal_log.hpp
check_cholesky_factor.hpp
quad_form_sym.hpp
logit.hpp
distance.hpp
lkj_corr_rng.hpp
subtract.hpp
read_cov_L.hpp
quad_form_diag.hpp
is_cholesky_factor.hpp
rows_dot_self.hpp
multi_student_t_log.hpp
asin.hpp
mean.hpp
diag_pre_multiply.hpp
chol2inv.hpp
simplex_free.hpp
log2.hpp
head.hpp
col.hpp
matrix_exp.hpp
square.hpp
inv_Phi.hpp
wishart_lpdf.hpp
tanh.hpp
multi_normal_rng.hpp
lkj_cov_lpdf.hpp
trace_quad_form.hpp
cholesky_corr_constrain.hpp
categorical_logit_log.hpp
ordered_logistic_lpmf.hpp
inv_wishart_log.hpp
ordered_logistic_log.hpp
acosh.hpp
multi_gp_lpdf.hpp
inv_wishart_lpdf.hpp
dot_product.hpp
rank.hpp
sin.hpp
log_inv_logit.hpp
log1m_inv_logit.hpp
gp_periodic_cov.hpp
exp.hpp
inverse.hpp
normal_id_glm_log.hpp
gp_matern32_cov.hpp
bernoulli_logit_glm_lpmf.hpp
Eigen.hpp
value_of.hpp
minus.hpp
tgamma.hpp
row.hpp
max.hpp
categorical_logit_rng.hpp
asinh.hpp
accumulator.hpp
map_rect_combine.hpp
unit_vector_constrain.hpp
check_vector.hpp
ordered_constrain.hpp
rows_dot_product.hpp
rep_row_vector.hpp
cholesky_factor_constrain.hpp
neg_binomial_2_log_glm_lpmf.hpp
lkj_corr_cholesky_log.hpp
neg_binomial_2_log_glm_log.hpp
add_diag.hpp
acos.hpp
factor_cov_matrix.hpp
to_matrix.hpp
finite_diff_hessian_helper.hpp
qr_R.hpp
block.hpp
poisson_log_glm_log.hpp
get_lp.hpp
expm1.hpp
log1m_exp.hpp
cholesky_corr_free.hpp
inv_sqrt.hpp
erfc.hpp
log_sum_exp.hpp
append_row.hpp
cov_exp_quad.hpp
bernoulli_logit_glm_rng.hpp
trunc.hpp
mdivide_right_tri_low.hpp
csr_matrix_times_vector.hpp
log10.hpp
cov_matrix_constrain.hpp
csr_u_to_z.hpp
sum.hpp
elt_multiply.hpp
promote_elements.hpp
sort_desc.hpp
map_rect.hpp
log1p_exp.hpp
to_row_vector.hpp
Phi.hpp
qr_thin_R.hpp
mdivide_left_ldlt.hpp
sqrt.hpp
cos.hpp
to_vector.hpp
welford_covar_estimator.hpp
diag_post_multiply.hpp
log_softmax.hpp
log1m.hpp
trigamma.hpp
categorical_rng.hpp
dot_self.hpp
columns_dot_self.hpp
matrix_normal_prec_lpdf.hpp
inv.hpp
fill.hpp
mdivide_right.hpp
is_cholesky_factor_corr.hpp
read_cov_matrix.hpp
ordered_logistic_rng.hpp
assign.hpp
quad_form.hpp
categorical_lpmf.hpp
cholesky_decompose.hpp
gaussian_dlm_obs_log.hpp
digamma.hpp
multi_normal_lpdf.hpp
multi_normal_prec_log.hpp
read_corr_matrix.hpp
add.hpp
read_corr_L.hpp
is_corr_matrix.hpp
check_range.hpp
mdivide_left_tri_low.hpp
positive_ordered_free.hpp
corr_matrix_free.hpp
is_square.hpp
sub_row.hpp
wishart_log.hpp
eigenvalues_sym.hpp
apply_scalar_unary.hpp
rep_matrix.hpp
check_spsd_matrix.hpp
map_rect_reduce.hpp
csr_extract_w.hpp
check_finite.hpp
inv_cloglog.hpp
gaussian_dlm_obs_lpdf.hpp
categorical_logit_glm_lpmf.hpp
multi_gp_cholesky_log.hpp
check_pos_definite.hpp
lkj_corr_lpdf.hpp
inverse_spd.hpp
make_nu.hpp
categorical_logit_lpmf.hpp
lkj_corr_cholesky_rng.hpp
positive_ordered_constrain.hpp
ceil.hpp
rows.hpp
append_col.hpp
log_determinant_ldlt.hpp
ordered_free.hpp
typedefs.hpp
mdivide_left.hpp
singular_values.hpp
[
Stan Home Page
]
© 2011–2018, Stan Development Team.