Stan Math Library
2.14.0
reverse mode automatic differentiation
stan
math
prim
scal.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_HPP
2
#define STAN_MATH_PRIM_SCAL_HPP
3
4
#include <
stan/math/version.hpp
>
5
6
#include <
stan/math/prim/scal/meta/ad_promotable.hpp
>
7
#include <
stan/math/prim/scal/meta/child_type.hpp
>
8
#include <
stan/math/prim/scal/meta/container_view.hpp
>
9
#include <
stan/math/prim/scal/meta/contains_fvar.hpp
>
10
#include <
stan/math/prim/scal/meta/contains_nonconstant_struct.hpp
>
11
#include <
stan/math/prim/scal/meta/contains_vector.hpp
>
12
#include <
stan/math/prim/scal/meta/error_index.hpp
>
13
#include <
stan/math/prim/scal/meta/get.hpp
>
14
#include <
stan/math/prim/scal/meta/include_summand.hpp
>
15
#include <
stan/math/prim/scal/meta/index_type.hpp
>
16
#include <
stan/math/prim/scal/meta/is_constant.hpp
>
17
#include <
stan/math/prim/scal/meta/is_constant_struct.hpp
>
18
#include <
stan/math/prim/scal/meta/is_fvar.hpp
>
19
#include <
stan/math/prim/scal/meta/is_var.hpp
>
20
#include <
stan/math/prim/scal/meta/is_var_or_arithmetic.hpp
>
21
#include <
stan/math/prim/scal/meta/is_vector.hpp
>
22
#include <
stan/math/prim/scal/meta/is_vector_like.hpp
>
23
#include <
stan/math/prim/scal/meta/length.hpp
>
24
#include <
stan/math/prim/scal/meta/length_mvt.hpp
>
25
#include <
stan/math/prim/scal/meta/likely.hpp
>
26
#include <
stan/math/prim/scal/meta/max_size.hpp
>
27
#include <
stan/math/prim/scal/meta/max_size_mvt.hpp
>
28
#include <
stan/math/prim/scal/meta/OperandsAndPartials.hpp
>
29
#include <
stan/math/prim/scal/meta/partials_return_type.hpp
>
30
#include <
stan/math/prim/scal/meta/partials_type.hpp
>
31
#include <
stan/math/prim/scal/meta/return_type.hpp
>
32
#include <
stan/math/prim/scal/meta/scalar_type.hpp
>
33
#include <
stan/math/prim/scal/meta/scalar_type_pre.hpp
>
34
#include <
stan/math/prim/scal/meta/size_of.hpp
>
35
#include <
stan/math/prim/scal/meta/value_type.hpp
>
36
#include <
stan/math/prim/scal/meta/VectorBuilder.hpp
>
37
#include <
stan/math/prim/scal/meta/VectorView.hpp
>
38
39
#include <
stan/math/prim/scal/err/check_bounded.hpp
>
40
#include <
stan/math/prim/scal/err/check_consistent_size.hpp
>
41
#include <
stan/math/prim/scal/err/check_consistent_sizes.hpp
>
42
#include <
stan/math/prim/scal/err/check_finite.hpp
>
43
#include <
stan/math/prim/scal/err/check_greater.hpp
>
44
#include <
stan/math/prim/scal/err/check_greater_or_equal.hpp
>
45
#include <
stan/math/prim/scal/err/check_less.hpp
>
46
#include <
stan/math/prim/scal/err/check_less_or_equal.hpp
>
47
#include <
stan/math/prim/scal/err/check_nonnegative.hpp
>
48
#include <
stan/math/prim/scal/err/check_not_nan.hpp
>
49
#include <
stan/math/prim/scal/err/check_positive.hpp
>
50
#include <
stan/math/prim/scal/err/check_positive_finite.hpp
>
51
#include <
stan/math/prim/scal/err/check_positive_size.hpp
>
52
#include <
stan/math/prim/scal/err/check_size_match.hpp
>
53
#include <
stan/math/prim/scal/err/domain_error.hpp
>
54
#include <
stan/math/prim/scal/err/domain_error_vec.hpp
>
55
#include <
stan/math/prim/scal/err/invalid_argument.hpp
>
56
#include <
stan/math/prim/scal/err/invalid_argument_vec.hpp
>
57
#include <
stan/math/prim/scal/err/out_of_range.hpp
>
58
59
#include <
stan/math/prim/scal/fun/abs.hpp
>
60
#include <
stan/math/prim/scal/fun/acosh.hpp
>
61
#include <
stan/math/prim/scal/fun/asinh.hpp
>
62
#include <
stan/math/prim/scal/fun/atanh.hpp
>
63
#include <
stan/math/prim/scal/fun/as_bool.hpp
>
64
#include <
stan/math/prim/scal/fun/bessel_first_kind.hpp
>
65
#include <
stan/math/prim/scal/fun/bessel_second_kind.hpp
>
66
#include <
stan/math/prim/scal/fun/binary_log_loss.hpp
>
67
#include <
stan/math/prim/scal/fun/binomial_coefficient_log.hpp
>
68
#include <
stan/math/prim/scal/fun/boost_policy.hpp
>
69
#include <
stan/math/prim/scal/fun/cbrt.hpp
>
70
#include <
stan/math/prim/scal/fun/choose.hpp
>
71
#include <
stan/math/prim/scal/fun/constants.hpp
>
72
#include <
stan/math/prim/scal/fun/corr_constrain.hpp
>
73
#include <
stan/math/prim/scal/fun/corr_free.hpp
>
74
#include <
stan/math/prim/scal/fun/digamma.hpp
>
75
#include <
stan/math/prim/scal/fun/divide.hpp
>
76
#include <
stan/math/prim/scal/fun/erf.hpp
>
77
#include <
stan/math/prim/scal/fun/erfc.hpp
>
78
#include <
stan/math/prim/scal/fun/exp2.hpp
>
79
#include <
stan/math/prim/scal/fun/exp.hpp
>
80
#include <
stan/math/prim/scal/fun/expm1.hpp
>
81
#include <
stan/math/prim/scal/fun/F32.hpp
>
82
#include <
stan/math/prim/scal/fun/falling_factorial.hpp
>
83
#include <
stan/math/prim/scal/fun/fdim.hpp
>
84
#include <
stan/math/prim/scal/fun/fill.hpp
>
85
#include <
stan/math/prim/scal/fun/fma.hpp
>
86
#include <
stan/math/prim/scal/fun/fmax.hpp
>
87
#include <
stan/math/prim/scal/fun/fmin.hpp
>
88
#include <
stan/math/prim/scal/fun/gamma_p.hpp
>
89
#include <
stan/math/prim/scal/fun/gamma_q.hpp
>
90
#include <
stan/math/prim/scal/fun/grad_2F1.hpp
>
91
#include <
stan/math/prim/scal/fun/grad_F32.hpp
>
92
#include <
stan/math/prim/scal/fun/grad_inc_beta.hpp
>
93
#include <
stan/math/prim/scal/fun/grad_reg_inc_beta.hpp
>
94
#include <
stan/math/prim/scal/fun/grad_reg_inc_gamma.hpp
>
95
#include <
stan/math/prim/scal/fun/hypot.hpp
>
96
#include <
stan/math/prim/scal/fun/ibeta.hpp
>
97
#include <
stan/math/prim/scal/fun/identity_constrain.hpp
>
98
#include <
stan/math/prim/scal/fun/identity_free.hpp
>
99
#include <
stan/math/prim/scal/fun/if_else.hpp
>
100
#include <
stan/math/prim/scal/fun/inc_beta.hpp
>
101
#include <
stan/math/prim/scal/fun/int_step.hpp
>
102
#include <
stan/math/prim/scal/fun/inv.hpp
>
103
#include <
stan/math/prim/scal/fun/inv_cloglog.hpp
>
104
#include <
stan/math/prim/scal/fun/inv_logit.hpp
>
105
#include <
stan/math/prim/scal/fun/inv_Phi.hpp
>
106
#include <
stan/math/prim/scal/fun/inv_sqrt.hpp
>
107
#include <
stan/math/prim/scal/fun/inv_square.hpp
>
108
#include <
stan/math/prim/scal/fun/is_inf.hpp
>
109
#include <
stan/math/prim/scal/fun/is_nan.hpp
>
110
#include <
stan/math/prim/scal/fun/is_uninitialized.hpp
>
111
#include <
stan/math/prim/scal/fun/lb_constrain.hpp
>
112
#include <
stan/math/prim/scal/fun/lb_free.hpp
>
113
#include <
stan/math/prim/scal/fun/lbeta.hpp
>
114
#include <
stan/math/prim/scal/fun/ldexp.hpp
>
115
#include <
stan/math/prim/scal/fun/lgamma.hpp
>
116
#include <
stan/math/prim/scal/fun/lmgamma.hpp
>
117
#include <
stan/math/prim/scal/fun/log.hpp
>
118
#include <
stan/math/prim/scal/fun/log1m.hpp
>
119
#include <
stan/math/prim/scal/fun/log1m_exp.hpp
>
120
#include <
stan/math/prim/scal/fun/log1m_inv_logit.hpp
>
121
#include <
stan/math/prim/scal/fun/log1p.hpp
>
122
#include <
stan/math/prim/scal/fun/log1p_exp.hpp
>
123
#include <
stan/math/prim/scal/fun/log2.hpp
>
124
#include <
stan/math/prim/scal/fun/log_diff_exp.hpp
>
125
#include <
stan/math/prim/scal/fun/log_falling_factorial.hpp
>
126
#include <
stan/math/prim/scal/fun/log_inv_logit.hpp
>
127
#include <
stan/math/prim/scal/fun/log_mix.hpp
>
128
#include <
stan/math/prim/scal/fun/log_rising_factorial.hpp
>
129
#include <
stan/math/prim/scal/fun/log_sum_exp.hpp
>
130
#include <
stan/math/prim/scal/fun/logical_and.hpp
>
131
#include <
stan/math/prim/scal/fun/logical_eq.hpp
>
132
#include <
stan/math/prim/scal/fun/logical_gt.hpp
>
133
#include <
stan/math/prim/scal/fun/logical_gte.hpp
>
134
#include <
stan/math/prim/scal/fun/logical_lt.hpp
>
135
#include <
stan/math/prim/scal/fun/logical_lte.hpp
>
136
#include <
stan/math/prim/scal/fun/logical_negation.hpp
>
137
#include <
stan/math/prim/scal/fun/logical_neq.hpp
>
138
#include <
stan/math/prim/scal/fun/logical_or.hpp
>
139
#include <
stan/math/prim/scal/fun/logit.hpp
>
140
#include <
stan/math/prim/scal/fun/lub_constrain.hpp
>
141
#include <
stan/math/prim/scal/fun/lub_free.hpp
>
142
#include <
stan/math/prim/scal/fun/modified_bessel_first_kind.hpp
>
143
#include <
stan/math/prim/scal/fun/modified_bessel_second_kind.hpp
>
144
#include <
stan/math/prim/scal/fun/modulus.hpp
>
145
#include <
stan/math/prim/scal/fun/multiply_log.hpp
>
146
#include <
stan/math/prim/scal/fun/owens_t.hpp
>
147
#include <
stan/math/prim/scal/fun/Phi.hpp
>
148
#include <
stan/math/prim/scal/fun/Phi_approx.hpp
>
149
#include <
stan/math/prim/scal/fun/positive_constrain.hpp
>
150
#include <
stan/math/prim/scal/fun/positive_free.hpp
>
151
#include <
stan/math/prim/scal/fun/primitive_value.hpp
>
152
#include <
stan/math/prim/scal/fun/prob_constrain.hpp
>
153
#include <
stan/math/prim/scal/fun/prob_free.hpp
>
154
#include <
stan/math/prim/scal/fun/promote_scalar.hpp
>
155
#include <
stan/math/prim/scal/fun/promote_scalar_type.hpp
>
156
#include <
stan/math/prim/scal/fun/rising_factorial.hpp
>
157
#include <
stan/math/prim/scal/fun/round.hpp
>
158
#include <
stan/math/prim/scal/fun/sign.hpp
>
159
#include <
stan/math/prim/scal/fun/square.hpp
>
160
#include <
stan/math/prim/scal/fun/squared_distance.hpp
>
161
#include <
stan/math/prim/scal/fun/step.hpp
>
162
#include <
stan/math/prim/scal/fun/tgamma.hpp
>
163
#include <
stan/math/prim/scal/fun/trigamma.hpp
>
164
#include <
stan/math/prim/scal/fun/trunc.hpp
>
165
#include <
stan/math/prim/scal/fun/ub_constrain.hpp
>
166
#include <
stan/math/prim/scal/fun/ub_free.hpp
>
167
#include <
stan/math/prim/scal/fun/value_of.hpp
>
168
#include <
stan/math/prim/scal/fun/value_of_rec.hpp
>
169
170
#include <
stan/math/prim/scal/prob/bernoulli_ccdf_log.hpp
>
171
#include <
stan/math/prim/scal/prob/bernoulli_cdf.hpp
>
172
#include <
stan/math/prim/scal/prob/bernoulli_cdf_log.hpp
>
173
#include <
stan/math/prim/scal/prob/bernoulli_lccdf.hpp
>
174
#include <
stan/math/prim/scal/prob/bernoulli_lcdf.hpp
>
175
#include <
stan/math/prim/scal/prob/bernoulli_log.hpp
>
176
#include <
stan/math/prim/scal/prob/bernoulli_logit_log.hpp
>
177
#include <
stan/math/prim/scal/prob/bernoulli_logit_lpmf.hpp
>
178
#include <
stan/math/prim/scal/prob/bernoulli_logit_rng.hpp
>
179
#include <
stan/math/prim/scal/prob/bernoulli_lpmf.hpp
>
180
#include <
stan/math/prim/scal/prob/bernoulli_rng.hpp
>
181
#include <
stan/math/prim/scal/prob/beta_binomial_ccdf_log.hpp
>
182
#include <
stan/math/prim/scal/prob/beta_binomial_cdf.hpp
>
183
#include <
stan/math/prim/scal/prob/beta_binomial_cdf_log.hpp
>
184
#include <
stan/math/prim/scal/prob/beta_binomial_lccdf.hpp
>
185
#include <
stan/math/prim/scal/prob/beta_binomial_lcdf.hpp
>
186
#include <
stan/math/prim/scal/prob/beta_binomial_log.hpp
>
187
#include <
stan/math/prim/scal/prob/beta_binomial_lpmf.hpp
>
188
#include <
stan/math/prim/scal/prob/beta_binomial_rng.hpp
>
189
#include <
stan/math/prim/scal/prob/beta_ccdf_log.hpp
>
190
#include <
stan/math/prim/scal/prob/beta_cdf.hpp
>
191
#include <
stan/math/prim/scal/prob/beta_cdf_log.hpp
>
192
#include <
stan/math/prim/scal/prob/beta_lccdf.hpp
>
193
#include <
stan/math/prim/scal/prob/beta_lcdf.hpp
>
194
#include <
stan/math/prim/scal/prob/beta_log.hpp
>
195
#include <
stan/math/prim/scal/prob/beta_lpdf.hpp
>
196
#include <
stan/math/prim/scal/prob/beta_rng.hpp
>
197
#include <
stan/math/prim/scal/prob/binomial_ccdf_log.hpp
>
198
#include <
stan/math/prim/scal/prob/binomial_cdf.hpp
>
199
#include <
stan/math/prim/scal/prob/binomial_cdf_log.hpp
>
200
#include <
stan/math/prim/scal/prob/binomial_lccdf.hpp
>
201
#include <
stan/math/prim/scal/prob/binomial_lcdf.hpp
>
202
#include <
stan/math/prim/scal/prob/binomial_log.hpp
>
203
#include <
stan/math/prim/scal/prob/binomial_lpmf.hpp
>
204
#include <
stan/math/prim/scal/prob/binomial_rng.hpp
>
205
#include <
stan/math/prim/scal/prob/binomial_logit_log.hpp
>
206
#include <
stan/math/prim/scal/prob/binomial_logit_lpmf.hpp
>
207
#include <
stan/math/prim/scal/prob/cauchy_ccdf_log.hpp
>
208
#include <
stan/math/prim/scal/prob/cauchy_cdf.hpp
>
209
#include <
stan/math/prim/scal/prob/cauchy_cdf_log.hpp
>
210
#include <
stan/math/prim/scal/prob/cauchy_lccdf.hpp
>
211
#include <
stan/math/prim/scal/prob/cauchy_lcdf.hpp
>
212
#include <
stan/math/prim/scal/prob/cauchy_log.hpp
>
213
#include <
stan/math/prim/scal/prob/cauchy_lpdf.hpp
>
214
#include <
stan/math/prim/scal/prob/cauchy_rng.hpp
>
215
#include <
stan/math/prim/scal/prob/chi_square_ccdf_log.hpp
>
216
#include <
stan/math/prim/scal/prob/chi_square_cdf.hpp
>
217
#include <
stan/math/prim/scal/prob/chi_square_cdf_log.hpp
>
218
#include <
stan/math/prim/scal/prob/chi_square_lccdf.hpp
>
219
#include <
stan/math/prim/scal/prob/chi_square_lcdf.hpp
>
220
#include <
stan/math/prim/scal/prob/chi_square_log.hpp
>
221
#include <
stan/math/prim/scal/prob/chi_square_lpdf.hpp
>
222
#include <
stan/math/prim/scal/prob/chi_square_rng.hpp
>
223
#include <
stan/math/prim/scal/prob/double_exponential_ccdf_log.hpp
>
224
#include <
stan/math/prim/scal/prob/double_exponential_cdf.hpp
>
225
#include <
stan/math/prim/scal/prob/double_exponential_cdf_log.hpp
>
226
#include <
stan/math/prim/scal/prob/double_exponential_lccdf.hpp
>
227
#include <
stan/math/prim/scal/prob/double_exponential_lcdf.hpp
>
228
#include <
stan/math/prim/scal/prob/double_exponential_log.hpp
>
229
#include <
stan/math/prim/scal/prob/double_exponential_lpdf.hpp
>
230
#include <
stan/math/prim/scal/prob/double_exponential_rng.hpp
>
231
#include <
stan/math/prim/scal/prob/exp_mod_normal_ccdf_log.hpp
>
232
#include <
stan/math/prim/scal/prob/exp_mod_normal_cdf.hpp
>
233
#include <
stan/math/prim/scal/prob/exp_mod_normal_cdf_log.hpp
>
234
#include <
stan/math/prim/scal/prob/exp_mod_normal_lccdf.hpp
>
235
#include <
stan/math/prim/scal/prob/exp_mod_normal_lcdf.hpp
>
236
#include <
stan/math/prim/scal/prob/exp_mod_normal_log.hpp
>
237
#include <
stan/math/prim/scal/prob/exp_mod_normal_lpdf.hpp
>
238
#include <
stan/math/prim/scal/prob/exp_mod_normal_rng.hpp
>
239
#include <
stan/math/prim/scal/prob/exponential_ccdf_log.hpp
>
240
#include <
stan/math/prim/scal/prob/exponential_cdf.hpp
>
241
#include <
stan/math/prim/scal/prob/exponential_cdf_log.hpp
>
242
#include <
stan/math/prim/scal/prob/exponential_lccdf.hpp
>
243
#include <
stan/math/prim/scal/prob/exponential_lcdf.hpp
>
244
#include <
stan/math/prim/scal/prob/exponential_log.hpp
>
245
#include <
stan/math/prim/scal/prob/exponential_lpdf.hpp
>
246
#include <
stan/math/prim/scal/prob/exponential_rng.hpp
>
247
#include <
stan/math/prim/scal/prob/frechet_ccdf_log.hpp
>
248
#include <
stan/math/prim/scal/prob/frechet_cdf.hpp
>
249
#include <
stan/math/prim/scal/prob/frechet_cdf_log.hpp
>
250
#include <
stan/math/prim/scal/prob/frechet_lccdf.hpp
>
251
#include <
stan/math/prim/scal/prob/frechet_lcdf.hpp
>
252
#include <
stan/math/prim/scal/prob/frechet_log.hpp
>
253
#include <
stan/math/prim/scal/prob/frechet_lpdf.hpp
>
254
#include <
stan/math/prim/scal/prob/frechet_rng.hpp
>
255
#include <
stan/math/prim/scal/prob/gamma_ccdf_log.hpp
>
256
#include <
stan/math/prim/scal/prob/gamma_cdf.hpp
>
257
#include <
stan/math/prim/scal/prob/gamma_cdf_log.hpp
>
258
#include <
stan/math/prim/scal/prob/gamma_lccdf.hpp
>
259
#include <
stan/math/prim/scal/prob/gamma_lcdf.hpp
>
260
#include <
stan/math/prim/scal/prob/gamma_log.hpp
>
261
#include <
stan/math/prim/scal/prob/gamma_lpdf.hpp
>
262
#include <
stan/math/prim/scal/prob/gamma_rng.hpp
>
263
#include <
stan/math/prim/scal/prob/gumbel_ccdf_log.hpp
>
264
#include <
stan/math/prim/scal/prob/gumbel_cdf.hpp
>
265
#include <
stan/math/prim/scal/prob/gumbel_cdf_log.hpp
>
266
#include <
stan/math/prim/scal/prob/gumbel_lccdf.hpp
>
267
#include <
stan/math/prim/scal/prob/gumbel_lcdf.hpp
>
268
#include <
stan/math/prim/scal/prob/gumbel_log.hpp
>
269
#include <
stan/math/prim/scal/prob/gumbel_lpdf.hpp
>
270
#include <
stan/math/prim/scal/prob/gumbel_rng.hpp
>
271
#include <
stan/math/prim/scal/prob/hypergeometric_log.hpp
>
272
#include <
stan/math/prim/scal/prob/hypergeometric_lpmf.hpp
>
273
#include <
stan/math/prim/scal/prob/hypergeometric_rng.hpp
>
274
#include <
stan/math/prim/scal/prob/inv_chi_square_ccdf_log.hpp
>
275
#include <
stan/math/prim/scal/prob/inv_chi_square_cdf.hpp
>
276
#include <
stan/math/prim/scal/prob/inv_chi_square_cdf_log.hpp
>
277
#include <
stan/math/prim/scal/prob/inv_chi_square_lccdf.hpp
>
278
#include <
stan/math/prim/scal/prob/inv_chi_square_lcdf.hpp
>
279
#include <
stan/math/prim/scal/prob/inv_chi_square_log.hpp
>
280
#include <
stan/math/prim/scal/prob/inv_chi_square_lpdf.hpp
>
281
#include <
stan/math/prim/scal/prob/inv_chi_square_rng.hpp
>
282
#include <
stan/math/prim/scal/prob/inv_gamma_ccdf_log.hpp
>
283
#include <
stan/math/prim/scal/prob/inv_gamma_cdf.hpp
>
284
#include <
stan/math/prim/scal/prob/inv_gamma_cdf_log.hpp
>
285
#include <
stan/math/prim/scal/prob/inv_gamma_lccdf.hpp
>
286
#include <
stan/math/prim/scal/prob/inv_gamma_lcdf.hpp
>
287
#include <
stan/math/prim/scal/prob/inv_gamma_log.hpp
>
288
#include <
stan/math/prim/scal/prob/inv_gamma_lpdf.hpp
>
289
#include <
stan/math/prim/scal/prob/inv_gamma_rng.hpp
>
290
#include <
stan/math/prim/scal/prob/logistic_ccdf_log.hpp
>
291
#include <
stan/math/prim/scal/prob/logistic_cdf.hpp
>
292
#include <
stan/math/prim/scal/prob/logistic_cdf_log.hpp
>
293
#include <
stan/math/prim/scal/prob/logistic_lccdf.hpp
>
294
#include <
stan/math/prim/scal/prob/logistic_lcdf.hpp
>
295
#include <
stan/math/prim/scal/prob/logistic_log.hpp
>
296
#include <
stan/math/prim/scal/prob/logistic_lpdf.hpp
>
297
#include <
stan/math/prim/scal/prob/logistic_rng.hpp
>
298
#include <
stan/math/prim/scal/prob/lognormal_ccdf_log.hpp
>
299
#include <
stan/math/prim/scal/prob/lognormal_cdf.hpp
>
300
#include <
stan/math/prim/scal/prob/lognormal_cdf_log.hpp
>
301
#include <
stan/math/prim/scal/prob/lognormal_lccdf.hpp
>
302
#include <
stan/math/prim/scal/prob/lognormal_lcdf.hpp
>
303
#include <
stan/math/prim/scal/prob/lognormal_log.hpp
>
304
#include <
stan/math/prim/scal/prob/lognormal_lpdf.hpp
>
305
#include <
stan/math/prim/scal/prob/lognormal_rng.hpp
>
306
#include <
stan/math/prim/scal/prob/neg_binomial_2_ccdf_log.hpp
>
307
#include <
stan/math/prim/scal/prob/neg_binomial_2_cdf.hpp
>
308
#include <
stan/math/prim/scal/prob/neg_binomial_2_cdf_log.hpp
>
309
#include <
stan/math/prim/scal/prob/neg_binomial_2_lccdf.hpp
>
310
#include <
stan/math/prim/scal/prob/neg_binomial_2_lcdf.hpp
>
311
#include <
stan/math/prim/scal/prob/neg_binomial_2_log.hpp
>
312
#include <
stan/math/prim/scal/prob/neg_binomial_2_lpmf.hpp
>
313
#include <
stan/math/prim/scal/prob/neg_binomial_2_rng.hpp
>
314
#include <
stan/math/prim/scal/prob/neg_binomial_2_log_log.hpp
>
315
#include <
stan/math/prim/scal/prob/neg_binomial_2_log_lpmf.hpp
>
316
#include <
stan/math/prim/scal/prob/neg_binomial_2_log_rng.hpp
>
317
#include <
stan/math/prim/scal/prob/neg_binomial_ccdf_log.hpp
>
318
#include <
stan/math/prim/scal/prob/neg_binomial_cdf.hpp
>
319
#include <
stan/math/prim/scal/prob/neg_binomial_cdf_log.hpp
>
320
#include <
stan/math/prim/scal/prob/neg_binomial_lccdf.hpp
>
321
#include <
stan/math/prim/scal/prob/neg_binomial_lcdf.hpp
>
322
#include <
stan/math/prim/scal/prob/neg_binomial_log.hpp
>
323
#include <
stan/math/prim/scal/prob/neg_binomial_lpmf.hpp
>
324
#include <
stan/math/prim/scal/prob/neg_binomial_rng.hpp
>
325
#include <
stan/math/prim/scal/prob/normal_ccdf_log.hpp
>
326
#include <
stan/math/prim/scal/prob/normal_cdf.hpp
>
327
#include <
stan/math/prim/scal/prob/normal_cdf_log.hpp
>
328
#include <
stan/math/prim/scal/prob/normal_lccdf.hpp
>
329
#include <
stan/math/prim/scal/prob/normal_lcdf.hpp
>
330
#include <
stan/math/prim/scal/prob/normal_log.hpp
>
331
#include <
stan/math/prim/scal/prob/normal_lpdf.hpp
>
332
#include <
stan/math/prim/scal/prob/normal_rng.hpp
>
333
#include <
stan/math/prim/scal/prob/pareto_ccdf_log.hpp
>
334
#include <
stan/math/prim/scal/prob/pareto_cdf.hpp
>
335
#include <
stan/math/prim/scal/prob/pareto_cdf_log.hpp
>
336
#include <
stan/math/prim/scal/prob/pareto_lccdf.hpp
>
337
#include <
stan/math/prim/scal/prob/pareto_lcdf.hpp
>
338
#include <
stan/math/prim/scal/prob/pareto_log.hpp
>
339
#include <
stan/math/prim/scal/prob/pareto_lpdf.hpp
>
340
#include <
stan/math/prim/scal/prob/pareto_rng.hpp
>
341
#include <
stan/math/prim/scal/prob/pareto_type_2_ccdf_log.hpp
>
342
#include <
stan/math/prim/scal/prob/pareto_type_2_cdf.hpp
>
343
#include <
stan/math/prim/scal/prob/pareto_type_2_cdf_log.hpp
>
344
#include <
stan/math/prim/scal/prob/pareto_type_2_lccdf.hpp
>
345
#include <
stan/math/prim/scal/prob/pareto_type_2_lcdf.hpp
>
346
#include <
stan/math/prim/scal/prob/pareto_type_2_log.hpp
>
347
#include <
stan/math/prim/scal/prob/pareto_type_2_lpdf.hpp
>
348
#include <
stan/math/prim/scal/prob/pareto_type_2_rng.hpp
>
349
#include <
stan/math/prim/scal/prob/poisson_ccdf_log.hpp
>
350
#include <
stan/math/prim/scal/prob/poisson_cdf.hpp
>
351
#include <
stan/math/prim/scal/prob/poisson_cdf_log.hpp
>
352
#include <
stan/math/prim/scal/prob/poisson_lccdf.hpp
>
353
#include <
stan/math/prim/scal/prob/poisson_lcdf.hpp
>
354
#include <
stan/math/prim/scal/prob/poisson_log.hpp
>
355
#include <
stan/math/prim/scal/prob/poisson_lpmf.hpp
>
356
#include <
stan/math/prim/scal/prob/poisson_rng.hpp
>
357
#include <
stan/math/prim/scal/prob/poisson_log_log.hpp
>
358
#include <
stan/math/prim/scal/prob/poisson_log_lpmf.hpp
>
359
#include <
stan/math/prim/scal/prob/poisson_log_rng.hpp
>
360
#include <
stan/math/prim/scal/prob/rayleigh_ccdf_log.hpp
>
361
#include <
stan/math/prim/scal/prob/rayleigh_cdf.hpp
>
362
#include <
stan/math/prim/scal/prob/rayleigh_cdf_log.hpp
>
363
#include <
stan/math/prim/scal/prob/rayleigh_lccdf.hpp
>
364
#include <
stan/math/prim/scal/prob/rayleigh_lcdf.hpp
>
365
#include <
stan/math/prim/scal/prob/rayleigh_log.hpp
>
366
#include <
stan/math/prim/scal/prob/rayleigh_lpdf.hpp
>
367
#include <
stan/math/prim/scal/prob/rayleigh_rng.hpp
>
368
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_ccdf_log.hpp
>
369
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_cdf.hpp
>
370
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_cdf_log.hpp
>
371
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_lccdf.hpp
>
372
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_lcdf.hpp
>
373
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_log.hpp
>
374
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_lpdf.hpp
>
375
#include <
stan/math/prim/scal/prob/scaled_inv_chi_square_rng.hpp
>
376
#include <
stan/math/prim/scal/prob/skew_normal_ccdf_log.hpp
>
377
#include <
stan/math/prim/scal/prob/skew_normal_cdf.hpp
>
378
#include <
stan/math/prim/scal/prob/skew_normal_cdf_log.hpp
>
379
#include <
stan/math/prim/scal/prob/skew_normal_lccdf.hpp
>
380
#include <
stan/math/prim/scal/prob/skew_normal_lcdf.hpp
>
381
#include <
stan/math/prim/scal/prob/skew_normal_log.hpp
>
382
#include <
stan/math/prim/scal/prob/skew_normal_lpdf.hpp
>
383
#include <
stan/math/prim/scal/prob/skew_normal_rng.hpp
>
384
#include <
stan/math/prim/scal/prob/student_t_ccdf_log.hpp
>
385
#include <
stan/math/prim/scal/prob/student_t_cdf.hpp
>
386
#include <
stan/math/prim/scal/prob/student_t_cdf_log.hpp
>
387
#include <
stan/math/prim/scal/prob/student_t_lccdf.hpp
>
388
#include <
stan/math/prim/scal/prob/student_t_lcdf.hpp
>
389
#include <
stan/math/prim/scal/prob/student_t_log.hpp
>
390
#include <
stan/math/prim/scal/prob/student_t_lpdf.hpp
>
391
#include <
stan/math/prim/scal/prob/student_t_rng.hpp
>
392
#include <
stan/math/prim/scal/prob/uniform_ccdf_log.hpp
>
393
#include <
stan/math/prim/scal/prob/uniform_cdf.hpp
>
394
#include <
stan/math/prim/scal/prob/uniform_cdf_log.hpp
>
395
#include <
stan/math/prim/scal/prob/uniform_lccdf.hpp
>
396
#include <
stan/math/prim/scal/prob/uniform_lcdf.hpp
>
397
#include <
stan/math/prim/scal/prob/uniform_log.hpp
>
398
#include <
stan/math/prim/scal/prob/uniform_lpdf.hpp
>
399
#include <
stan/math/prim/scal/prob/uniform_rng.hpp
>
400
#include <
stan/math/prim/scal/prob/von_mises_log.hpp
>
401
#include <
stan/math/prim/scal/prob/von_mises_lpdf.hpp
>
402
#include <
stan/math/prim/scal/prob/von_mises_rng.hpp
>
403
#include <
stan/math/prim/scal/prob/weibull_ccdf_log.hpp
>
404
#include <
stan/math/prim/scal/prob/weibull_cdf.hpp
>
405
#include <
stan/math/prim/scal/prob/weibull_cdf_log.hpp
>
406
#include <
stan/math/prim/scal/prob/weibull_lccdf.hpp
>
407
#include <
stan/math/prim/scal/prob/weibull_lcdf.hpp
>
408
#include <
stan/math/prim/scal/prob/weibull_log.hpp
>
409
#include <
stan/math/prim/scal/prob/weibull_lpdf.hpp
>
410
#include <
stan/math/prim/scal/prob/weibull_rng.hpp
>
411
#include <
stan/math/prim/scal/prob/wiener_log.hpp
>
412
#include <
stan/math/prim/scal/prob/wiener_lpdf.hpp
>
413
414
#include <cmath>
415
416
#endif
check_not_nan.hpp
gumbel_cdf.hpp
log.hpp
ub_constrain.hpp
inv_chi_square_cdf_log.hpp
pareto_type_2_cdf.hpp
inv_chi_square_ccdf_log.hpp
rayleigh_lcdf.hpp
bernoulli_lcdf.hpp
log_diff_exp.hpp
pareto_type_2_lpdf.hpp
binomial_cdf_log.hpp
neg_binomial_2_lccdf.hpp
beta_log.hpp
modulus.hpp
exponential_lcdf.hpp
hypergeometric_lpmf.hpp
lgamma.hpp
inv_gamma_lpdf.hpp
beta_binomial_log.hpp
binomial_lcdf.hpp
falling_factorial.hpp
skew_normal_cdf_log.hpp
neg_binomial_2_rng.hpp
poisson_rng.hpp
rayleigh_rng.hpp
frechet_ccdf_log.hpp
poisson_log.hpp
fill.hpp
boost_policy.hpp
max_size_mvt.hpp
lognormal_log.hpp
chi_square_lcdf.hpp
scaled_inv_chi_square_cdf_log.hpp
student_t_cdf_log.hpp
uniform_cdf_log.hpp
choose.hpp
binomial_lpmf.hpp
beta_binomial_rng.hpp
positive_free.hpp
inv_square.hpp
neg_binomial_2_log_rng.hpp
cauchy_cdf_log.hpp
gamma_cdf_log.hpp
index_type.hpp
neg_binomial_2_log.hpp
pareto_lcdf.hpp
hypergeometric_rng.hpp
exponential_cdf_log.hpp
check_size_match.hpp
is_nan.hpp
cauchy_cdf.hpp
check_positive_finite.hpp
check_positive.hpp
uniform_lpdf.hpp
frechet_lccdf.hpp
pareto_cdf_log.hpp
gamma_lcdf.hpp
bernoulli_rng.hpp
pareto_lpdf.hpp
hypot.hpp
poisson_log_lpmf.hpp
skew_normal_cdf.hpp
Phi_approx.hpp
cauchy_rng.hpp
frechet_cdf_log.hpp
lognormal_lccdf.hpp
beta_cdf_log.hpp
exponential_rng.hpp
inv_gamma_rng.hpp
modified_bessel_second_kind.hpp
exp_mod_normal_lpdf.hpp
poisson_lccdf.hpp
lb_free.hpp
digamma.hpp
rising_factorial.hpp
pareto_type_2_ccdf_log.hpp
check_consistent_size.hpp
inv_gamma_cdf.hpp
is_vector.hpp
square.hpp
invalid_argument.hpp
beta_binomial_cdf_log.hpp
contains_nonconstant_struct.hpp
logical_and.hpp
pareto_type_2_log.hpp
logistic_rng.hpp
inv_chi_square_cdf.hpp
size_of.hpp
inv_gamma_lccdf.hpp
is_inf.hpp
partials_type.hpp
uniform_ccdf_log.hpp
student_t_lpdf.hpp
gamma_rng.hpp
neg_binomial_2_lcdf.hpp
scaled_inv_chi_square_cdf.hpp
lognormal_lpdf.hpp
binary_log_loss.hpp
out_of_range.hpp
weibull_log.hpp
bernoulli_logit_rng.hpp
inv_chi_square_log.hpp
cauchy_lccdf.hpp
bernoulli_ccdf_log.hpp
modified_bessel_first_kind.hpp
logical_negation.hpp
pareto_rng.hpp
inv_cloglog.hpp
is_uninitialized.hpp
inv_gamma_log.hpp
skew_normal_lccdf.hpp
skew_normal_ccdf_log.hpp
neg_binomial_ccdf_log.hpp
pareto_type_2_rng.hpp
binomial_coefficient_log.hpp
is_constant_struct.hpp
neg_binomial_lcdf.hpp
bessel_first_kind.hpp
weibull_lcdf.hpp
gumbel_ccdf_log.hpp
logistic_cdf.hpp
return_type.hpp
trunc.hpp
neg_binomial_2_ccdf_log.hpp
lognormal_rng.hpp
asinh.hpp
weibull_lpdf.hpp
F32.hpp
bernoulli_logit_lpmf.hpp
pareto_lccdf.hpp
gamma_q.hpp
logical_lte.hpp
domain_error_vec.hpp
weibull_cdf.hpp
pareto_type_2_lcdf.hpp
student_t_lcdf.hpp
normal_rng.hpp
exp_mod_normal_ccdf_log.hpp
lognormal_lcdf.hpp
student_t_rng.hpp
invalid_argument_vec.hpp
include_summand.hpp
beta_binomial_lccdf.hpp
abs.hpp
check_greater.hpp
is_fvar.hpp
rayleigh_cdf_log.hpp
uniform_rng.hpp
multiply_log.hpp
skew_normal_lcdf.hpp
logical_neq.hpp
check_nonnegative.hpp
skew_normal_rng.hpp
neg_binomial_log.hpp
bernoulli_log.hpp
frechet_log.hpp
gamma_lpdf.hpp
rayleigh_ccdf_log.hpp
corr_constrain.hpp
log_inv_logit.hpp
normal_ccdf_log.hpp
cauchy_lcdf.hpp
neg_binomial_cdf.hpp
beta_cdf.hpp
cauchy_log.hpp
chi_square_lpdf.hpp
bernoulli_lccdf.hpp
is_var.hpp
exponential_cdf.hpp
normal_log.hpp
gumbel_cdf_log.hpp
cauchy_ccdf_log.hpp
log_sum_exp.hpp
prob_free.hpp
neg_binomial_cdf_log.hpp
gumbel_log.hpp
is_vector_like.hpp
binomial_log.hpp
divide.hpp
uniform_log.hpp
logical_gt.hpp
gumbel_lpdf.hpp
hypergeometric_log.hpp
von_mises_lpdf.hpp
scaled_inv_chi_square_log.hpp
chi_square_ccdf_log.hpp
poisson_lpmf.hpp
logical_or.hpp
neg_binomial_rng.hpp
double_exponential_rng.hpp
logistic_log.hpp
pareto_ccdf_log.hpp
fmax.hpp
beta_lcdf.hpp
check_less_or_equal.hpp
student_t_lccdf.hpp
pareto_cdf.hpp
acosh.hpp
frechet_lcdf.hpp
chi_square_cdf_log.hpp
ibeta.hpp
inv_gamma_ccdf_log.hpp
beta_rng.hpp
gumbel_rng.hpp
beta_lpdf.hpp
erfc.hpp
log_rising_factorial.hpp
fma.hpp
log1m_exp.hpp
inv_chi_square_lcdf.hpp
neg_binomial_2_log_lpmf.hpp
squared_distance.hpp
chi_square_cdf.hpp
VectorView.hpp
scalar_type_pre.hpp
rayleigh_lccdf.hpp
log1m_inv_logit.hpp
get.hpp
binomial_logit_log.hpp
poisson_cdf_log.hpp
ldexp.hpp
log_mix.hpp
logistic_ccdf_log.hpp
gamma_cdf.hpp
grad_2F1.hpp
erf.hpp
gumbel_lccdf.hpp
gamma_ccdf_log.hpp
primitive_value.hpp
identity_free.hpp
binomial_lccdf.hpp
owens_t.hpp
fmin.hpp
uniform_cdf.hpp
likely.hpp
poisson_log_log.hpp
skew_normal_lpdf.hpp
logical_gte.hpp
VectorBuilder.hpp
promote_scalar_type.hpp
chi_square_rng.hpp
log1m.hpp
lognormal_cdf_log.hpp
child_type.hpp
value_of_rec.hpp
rayleigh_lpdf.hpp
scaled_inv_chi_square_ccdf_log.hpp
neg_binomial_lpmf.hpp
chi_square_lccdf.hpp
grad_inc_beta.hpp
logical_eq.hpp
binomial_ccdf_log.hpp
exponential_lpdf.hpp
contains_vector.hpp
exponential_log.hpp
inv_gamma_lcdf.hpp
lognormal_ccdf_log.hpp
normal_lccdf.hpp
partials_return_type.hpp
OperandsAndPartials.hpp
prob_constrain.hpp
poisson_lcdf.hpp
weibull_ccdf_log.hpp
poisson_ccdf_log.hpp
scaled_inv_chi_square_lcdf.hpp
poisson_log_rng.hpp
lognormal_cdf.hpp
double_exponential_ccdf_log.hpp
exp_mod_normal_log.hpp
bernoulli_lpmf.hpp
scalar_type.hpp
logistic_lccdf.hpp
check_bounded.hpp
length.hpp
chi_square_log.hpp
ub_free.hpp
length_mvt.hpp
pareto_type_2_lccdf.hpp
gamma_p.hpp
grad_reg_inc_beta.hpp
ad_promotable.hpp
beta_binomial_ccdf_log.hpp
neg_binomial_lccdf.hpp
value_type.hpp
frechet_lpdf.hpp
student_t_cdf.hpp
atanh.hpp
exp_mod_normal_cdf.hpp
log1p_exp.hpp
exponential_lccdf.hpp
grad_F32.hpp
double_exponential_cdf.hpp
grad_reg_inc_gamma.hpp
round.hpp
rayleigh_log.hpp
constants.hpp
pareto_type_2_cdf_log.hpp
scaled_inv_chi_square_lccdf.hpp
logistic_cdf_log.hpp
promote_scalar.hpp
scaled_inv_chi_square_lpdf.hpp
tgamma.hpp
lmgamma.hpp
von_mises_rng.hpp
weibull_rng.hpp
double_exponential_lpdf.hpp
int_step.hpp
exp.hpp
weibull_lccdf.hpp
sign.hpp
check_finite.hpp
exp_mod_normal_rng.hpp
inv_gamma_cdf_log.hpp
frechet_cdf.hpp
lbeta.hpp
identity_constrain.hpp
domain_error.hpp
inv_chi_square_rng.hpp
skew_normal_log.hpp
gamma_lccdf.hpp
weibull_cdf_log.hpp
inv_chi_square_lpdf.hpp
pareto_log.hpp
cbrt.hpp
uniform_lcdf.hpp
wiener_log.hpp
neg_binomial_2_log_log.hpp
bernoulli_cdf_log.hpp
bernoulli_cdf.hpp
beta_binomial_cdf.hpp
as_bool.hpp
log1p.hpp
beta_lccdf.hpp
inv_Phi.hpp
exp_mod_normal_cdf_log.hpp
error_index.hpp
gumbel_lcdf.hpp
inc_beta.hpp
if_else.hpp
von_mises_log.hpp
wiener_lpdf.hpp
bessel_second_kind.hpp
rayleigh_cdf.hpp
logical_lt.hpp
exp2.hpp
inv_chi_square_lccdf.hpp
student_t_ccdf_log.hpp
binomial_logit_lpmf.hpp
positive_constrain.hpp
check_greater_or_equal.hpp
value_of.hpp
logit.hpp
normal_cdf.hpp
lub_constrain.hpp
neg_binomial_2_cdf_log.hpp
step.hpp
normal_cdf_log.hpp
inv_logit.hpp
container_view.hpp
student_t_log.hpp
double_exponential_cdf_log.hpp
logistic_lpdf.hpp
gamma_log.hpp
beta_binomial_lpmf.hpp
uniform_lccdf.hpp
exponential_ccdf_log.hpp
log2.hpp
lub_free.hpp
neg_binomial_2_cdf.hpp
frechet_rng.hpp
version.hpp
check_less.hpp
Phi.hpp
trigamma.hpp
double_exponential_lcdf.hpp
beta_binomial_lcdf.hpp
exp_mod_normal_lcdf.hpp
neg_binomial_2_lpmf.hpp
normal_lpdf.hpp
double_exponential_lccdf.hpp
beta_ccdf_log.hpp
check_positive_size.hpp
contains_fvar.hpp
check_consistent_sizes.hpp
log_falling_factorial.hpp
binomial_cdf.hpp
lb_constrain.hpp
normal_lcdf.hpp
logistic_lcdf.hpp
inv.hpp
inv_sqrt.hpp
bernoulli_logit_log.hpp
exp_mod_normal_lccdf.hpp
binomial_rng.hpp
is_var_or_arithmetic.hpp
cauchy_lpdf.hpp
scaled_inv_chi_square_rng.hpp
poisson_cdf.hpp
max_size.hpp
fdim.hpp
expm1.hpp
is_constant.hpp
corr_free.hpp
double_exponential_log.hpp
[
Stan Home Page
]
© 2011–2016, Stan Development Team.