Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
prim.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_OPENCL_PRIM_HPP
2
#define STAN_MATH_OPENCL_PRIM_HPP
3
#ifdef STAN_OPENCL
4
81
#include <
stan/math/prim/fun/Eigen.hpp
>
82
#include <
stan/math/opencl/kernel_generator.hpp
>
83
#include <
stan/math/opencl/opencl_context.hpp
>
84
#include <
stan/math/opencl/matrix_cl.hpp
>
85
86
#include <
stan/math/opencl/scalar_type.hpp
>
87
#include <
stan/math/opencl/copy.hpp
>
88
#include <
stan/math/opencl/cholesky_decompose.hpp
>
89
#include <
stan/math/opencl/is_constant.hpp
>
90
#include <
stan/math/opencl/tri_inverse.hpp
>
91
#include <
stan/math/opencl/multiply_transpose.hpp
>
92
#include <
stan/math/opencl/matrix_cl_view.hpp
>
93
#include <
stan/math/opencl/pinned_matrix.hpp
>
94
#include <
stan/math/opencl/plain_type.hpp
>
95
#include <
stan/math/opencl/ref_type_for_opencl.hpp
>
96
#include <
stan/math/opencl/ref_type.hpp
>
97
#include <
stan/math/opencl/to_ref_for_opencl.hpp
>
98
#include <
stan/math/opencl/value_type.hpp
>
99
#include <
stan/math/opencl/zeros_strict_tri.hpp
>
100
#include <
stan/math/opencl/qr_decomposition.hpp
>
101
102
#include <
stan/math/opencl/prim_constraint.hpp
>
103
104
#include <
stan/math/opencl/prim/add_diag.hpp
>
105
#include <
stan/math/opencl/prim/append_array.hpp
>
106
#include <
stan/math/opencl/prim/bernoulli_cdf.hpp
>
107
#include <
stan/math/opencl/prim/bernoulli_lccdf.hpp
>
108
#include <
stan/math/opencl/prim/bernoulli_lcdf.hpp
>
109
#include <
stan/math/opencl/prim/bernoulli_lpmf.hpp
>
110
#include <
stan/math/opencl/prim/bernoulli_logit_lpmf.hpp
>
111
#include <
stan/math/opencl/prim/bernoulli_logit_glm_lpmf.hpp
>
112
#include <
stan/math/opencl/prim/beta_binomial_lpmf.hpp
>
113
#include <
stan/math/opencl/prim/beta_lpdf.hpp
>
114
#include <
stan/math/opencl/prim/beta_proportion_lpdf.hpp
>
115
#include <
stan/math/opencl/prim/binomial_logit_lpmf.hpp
>
116
#include <
stan/math/opencl/prim/binomial_lpmf.hpp
>
117
#include <
stan/math/opencl/prim/binomial_logit_glm_lpmf.hpp
>
118
#include <
stan/math/opencl/prim/block.hpp
>
119
#include <
stan/math/opencl/prim/categorical_logit_glm_lpmf.hpp
>
120
#include <
stan/math/opencl/prim/cauchy_cdf.hpp
>
121
#include <
stan/math/opencl/prim/cauchy_lccdf.hpp
>
122
#include <
stan/math/opencl/prim/cauchy_lcdf.hpp
>
123
#include <
stan/math/opencl/prim/cauchy_lpdf.hpp
>
124
#include <
stan/math/opencl/prim/chi_square_lpdf.hpp
>
125
#include <
stan/math/opencl/prim/cholesky_decompose.hpp
>
126
#include <
stan/math/opencl/prim/col.hpp
>
127
#include <
stan/math/opencl/prim/cols.hpp
>
128
#include <
stan/math/opencl/prim/columns_dot_product.hpp
>
129
#include <
stan/math/opencl/prim/columns_dot_self.hpp
>
130
#include <
stan/math/opencl/prim/crossprod.hpp
>
131
#include <
stan/math/opencl/prim/cumulative_sum.hpp
>
132
#include <
stan/math/opencl/prim/diag_matrix.hpp
>
133
#include <
stan/math/opencl/prim/diag_pre_multiply.hpp
>
134
#include <
stan/math/opencl/prim/diag_post_multiply.hpp
>
135
#include <
stan/math/opencl/prim/dims.hpp
>
136
#include <
stan/math/opencl/prim/dirichlet_lpdf.hpp
>
137
#include <
stan/math/opencl/prim/distance.hpp
>
138
#include <
stan/math/opencl/prim/divide.hpp
>
139
#include <
stan/math/opencl/prim/divide_columns.hpp
>
140
#include <
stan/math/opencl/prim/dot_product.hpp
>
141
#include <
stan/math/opencl/prim/dot_self.hpp
>
142
#include <
stan/math/opencl/prim/double_exponential_cdf.hpp
>
143
#include <
stan/math/opencl/prim/double_exponential_lccdf.hpp
>
144
#include <
stan/math/opencl/prim/double_exponential_lcdf.hpp
>
145
#include <
stan/math/opencl/prim/double_exponential_lpdf.hpp
>
146
#include <
stan/math/opencl/prim/eigenvalues_sym.hpp
>
147
#include <
stan/math/opencl/prim/eigenvectors_sym.hpp
>
148
#include <
stan/math/opencl/prim/exp_mod_normal_cdf.hpp
>
149
#include <
stan/math/opencl/prim/exp_mod_normal_lccdf.hpp
>
150
#include <
stan/math/opencl/prim/exp_mod_normal_lcdf.hpp
>
151
#include <
stan/math/opencl/prim/exp_mod_normal_lpdf.hpp
>
152
#include <
stan/math/opencl/prim/exponential_cdf.hpp
>
153
#include <
stan/math/opencl/prim/exponential_lccdf.hpp
>
154
#include <
stan/math/opencl/prim/exponential_lcdf.hpp
>
155
#include <
stan/math/opencl/prim/exponential_lpdf.hpp
>
156
#include <
stan/math/opencl/prim/frechet_cdf.hpp
>
157
#include <
stan/math/opencl/prim/frechet_lccdf.hpp
>
158
#include <
stan/math/opencl/prim/frechet_lcdf.hpp
>
159
#include <
stan/math/opencl/prim/frechet_lpdf.hpp
>
160
#include <
stan/math/opencl/prim/gamma_lpdf.hpp
>
161
#include <
stan/math/opencl/prim/gp_dot_prod_cov.hpp
>
162
#include <
stan/math/opencl/prim/gp_exponential_cov.hpp
>
163
#include <
stan/math/opencl/prim/gp_exp_quad_cov.hpp
>
164
#include <
stan/math/opencl/prim/gp_matern32_cov.hpp
>
165
#include <
stan/math/opencl/prim/gp_matern52_cov.hpp
>
166
#include <
stan/math/opencl/prim/gumbel_cdf.hpp
>
167
#include <
stan/math/opencl/prim/gumbel_lccdf.hpp
>
168
#include <
stan/math/opencl/prim/gumbel_lcdf.hpp
>
169
#include <
stan/math/opencl/prim/gumbel_lpdf.hpp
>
170
#include <
stan/math/opencl/prim/head.hpp
>
171
#include <
stan/math/opencl/prim/identity_matrix.hpp
>
172
#include <
stan/math/opencl/prim/inv.hpp
>
173
#include <
stan/math/opencl/prim/inv_chi_square_lpdf.hpp
>
174
#include <
stan/math/opencl/prim/inv_cloglog.hpp
>
175
#include <
stan/math/opencl/prim/inv_gamma_lpdf.hpp
>
176
#include <
stan/math/opencl/prim/inv_sqrt.hpp
>
177
#include <
stan/math/opencl/prim/log_mix.hpp
>
178
#include <
stan/math/opencl/prim/log_softmax.hpp
>
179
#include <
stan/math/opencl/prim/logistic_cdf.hpp
>
180
#include <
stan/math/opencl/prim/logistic_lccdf.hpp
>
181
#include <
stan/math/opencl/prim/logistic_lcdf.hpp
>
182
#include <
stan/math/opencl/prim/logistic_lpdf.hpp
>
183
#include <
stan/math/opencl/prim/log_sum_exp.hpp
>
184
#include <
stan/math/opencl/prim/lognormal_cdf.hpp
>
185
#include <
stan/math/opencl/prim/lognormal_lccdf.hpp
>
186
#include <
stan/math/opencl/prim/lognormal_lcdf.hpp
>
187
#include <
stan/math/opencl/prim/lognormal_lpdf.hpp
>
188
#include <
stan/math/opencl/prim/matrix_power.hpp
>
189
#include <
stan/math/opencl/prim/mdivide_left_tri_low.hpp
>
190
#include <
stan/math/opencl/prim/mdivide_right_tri_low.hpp
>
191
#include <
stan/math/opencl/prim/mean.hpp
>
192
#include <
stan/math/opencl/prim/multi_normal_cholesky_lpdf.hpp
>
193
#include <
stan/math/opencl/prim/multiply_lower_tri_self_transpose.hpp
>
194
#include <
stan/math/opencl/prim/neg_binomial_lpmf.hpp
>
195
#include <
stan/math/opencl/prim/neg_binomial_2_lpmf.hpp
>
196
#include <
stan/math/opencl/prim/neg_binomial_2_log_lpmf.hpp
>
197
#include <
stan/math/opencl/prim/neg_binomial_2_log_glm_lpmf.hpp
>
198
#include <
stan/math/opencl/prim/normal_id_glm_lpdf.hpp
>
199
#include <
stan/math/opencl/prim/normal_cdf.hpp
>
200
#include <
stan/math/opencl/prim/normal_lccdf.hpp
>
201
#include <
stan/math/opencl/prim/normal_lcdf.hpp
>
202
#include <
stan/math/opencl/prim/normal_lpdf.hpp
>
203
#include <
stan/math/opencl/prim/num_elements.hpp
>
204
#include <
stan/math/opencl/prim/ordered_logistic_glm_lpmf.hpp
>
205
#include <
stan/math/opencl/prim/ordered_logistic_lpmf.hpp
>
206
#include <
stan/math/opencl/prim/pareto_cdf.hpp
>
207
#include <
stan/math/opencl/prim/pareto_lccdf.hpp
>
208
#include <
stan/math/opencl/prim/pareto_lcdf.hpp
>
209
#include <
stan/math/opencl/prim/pareto_lpdf.hpp
>
210
#include <
stan/math/opencl/prim/pareto_type_2_cdf.hpp
>
211
#include <
stan/math/opencl/prim/pareto_type_2_lccdf.hpp
>
212
#include <
stan/math/opencl/prim/pareto_type_2_lcdf.hpp
>
213
#include <
stan/math/opencl/prim/pareto_type_2_lpdf.hpp
>
214
#include <
stan/math/opencl/prim/poisson_log_glm_lpmf.hpp
>
215
#include <
stan/math/opencl/prim/poisson_log_lpmf.hpp
>
216
#include <
stan/math/opencl/prim/poisson_lpmf.hpp
>
217
#include <
stan/math/opencl/prim/prod.hpp
>
218
#include <
stan/math/opencl/prim/qr_Q.hpp
>
219
#include <
stan/math/opencl/prim/qr_R.hpp
>
220
#include <
stan/math/opencl/prim/qr_thin_Q.hpp
>
221
#include <
stan/math/opencl/prim/qr_thin_R.hpp
>
222
#include <
stan/math/opencl/prim/rank.hpp
>
223
#include <
stan/math/opencl/prim/rayleigh_cdf.hpp
>
224
#include <
stan/math/opencl/prim/rayleigh_lccdf.hpp
>
225
#include <
stan/math/opencl/prim/rayleigh_lcdf.hpp
>
226
#include <
stan/math/opencl/prim/rayleigh_lpdf.hpp
>
227
#include <
stan/math/opencl/prim/rep_array.hpp
>
228
#include <
stan/math/opencl/prim/rep_matrix.hpp
>
229
#include <
stan/math/opencl/prim/rep_row_vector.hpp
>
230
#include <
stan/math/opencl/prim/rep_vector.hpp
>
231
#include <
stan/math/opencl/prim/reverse.hpp
>
232
#include <
stan/math/opencl/prim/row.hpp
>
233
#include <
stan/math/opencl/prim/rows.hpp
>
234
#include <
stan/math/opencl/prim/rows_dot_product.hpp
>
235
#include <
stan/math/opencl/prim/rows_dot_self.hpp
>
236
#include <
stan/math/opencl/prim/scaled_inv_chi_square_lpdf.hpp
>
237
#include <
stan/math/opencl/prim/sd.hpp
>
238
#include <
stan/math/opencl/prim/segment.hpp
>
239
#include <
stan/math/opencl/prim/sign.hpp
>
240
#include <
stan/math/opencl/prim/size.hpp
>
241
#include <
stan/math/opencl/prim/softmax.hpp
>
242
#include <
stan/math/opencl/prim/sort_asc.hpp
>
243
#include <
stan/math/opencl/prim/sort_desc.hpp
>
244
#include <
stan/math/opencl/prim/squared_distance.hpp
>
245
#include <
stan/math/opencl/prim/sub_col.hpp
>
246
#include <
stan/math/opencl/prim/sub_row.hpp
>
247
#include <
stan/math/opencl/prim/std_normal_cdf.hpp
>
248
#include <
stan/math/opencl/prim/std_normal_lccdf.hpp
>
249
#include <
stan/math/opencl/prim/std_normal_lcdf.hpp
>
250
#include <
stan/math/opencl/prim/std_normal_lpdf.hpp
>
251
#include <
stan/math/opencl/prim/student_t_lpdf.hpp
>
252
#include <
stan/math/opencl/prim/skew_double_exponential_cdf.hpp
>
253
#include <
stan/math/opencl/prim/skew_double_exponential_lcdf.hpp
>
254
#include <
stan/math/opencl/prim/skew_double_exponential_lccdf.hpp
>
255
#include <
stan/math/opencl/prim/skew_double_exponential_lpdf.hpp
>
256
#include <
stan/math/opencl/prim/skew_normal_lpdf.hpp
>
257
#include <
stan/math/opencl/prim/sum.hpp
>
258
#include <
stan/math/opencl/prim/symmetrize_from_lower_tri.hpp
>
259
#include <
stan/math/opencl/prim/symmetrize_from_upper_tri.hpp
>
260
#include <
stan/math/opencl/prim/tail.hpp
>
261
#include <
stan/math/opencl/prim/tcrossprod.hpp
>
262
#include <
stan/math/opencl/prim/to_array_1d.hpp
>
263
#include <
stan/math/opencl/prim/to_array_2d.hpp
>
264
#include <
stan/math/opencl/prim/to_matrix.hpp
>
265
#include <
stan/math/opencl/prim/to_row_vector.hpp
>
266
#include <
stan/math/opencl/prim/to_vector.hpp
>
267
#include <
stan/math/opencl/prim/trace.hpp
>
268
#include <
stan/math/opencl/prim/uniform_cdf.hpp
>
269
#include <
stan/math/opencl/prim/uniform_lccdf.hpp
>
270
#include <
stan/math/opencl/prim/uniform_lcdf.hpp
>
271
#include <
stan/math/opencl/prim/uniform_lpdf.hpp
>
272
#include <
stan/math/opencl/prim/variance.hpp
>
273
#include <
stan/math/opencl/prim/weibull_cdf.hpp
>
274
#include <
stan/math/opencl/prim/weibull_lccdf.hpp
>
275
#include <
stan/math/opencl/prim/weibull_lcdf.hpp
>
276
#include <
stan/math/opencl/prim/weibull_lpdf.hpp
>
277
278
#include <
stan/math/opencl/err.hpp
>
279
280
#endif
281
#endif
Eigen.hpp
copy.hpp
kernel_generator.hpp
matrix_cl.hpp
matrix_cl_view.hpp
multiply_transpose.hpp
cholesky_decompose.hpp
err.hpp
is_constant.hpp
plain_type.hpp
add_diag.hpp
append_array.hpp
bernoulli_cdf.hpp
bernoulli_lccdf.hpp
bernoulli_lcdf.hpp
bernoulli_logit_glm_lpmf.hpp
bernoulli_logit_lpmf.hpp
bernoulli_lpmf.hpp
beta_binomial_lpmf.hpp
beta_lpdf.hpp
beta_proportion_lpdf.hpp
binomial_logit_glm_lpmf.hpp
binomial_logit_lpmf.hpp
binomial_lpmf.hpp
block.hpp
categorical_logit_glm_lpmf.hpp
cauchy_cdf.hpp
cauchy_lccdf.hpp
cauchy_lcdf.hpp
cauchy_lpdf.hpp
chi_square_lpdf.hpp
cholesky_decompose.hpp
col.hpp
cols.hpp
columns_dot_product.hpp
columns_dot_self.hpp
crossprod.hpp
cumulative_sum.hpp
diag_matrix.hpp
diag_post_multiply.hpp
diag_pre_multiply.hpp
dims.hpp
dirichlet_lpdf.hpp
distance.hpp
divide.hpp
divide_columns.hpp
dot_product.hpp
dot_self.hpp
double_exponential_cdf.hpp
double_exponential_lccdf.hpp
double_exponential_lcdf.hpp
double_exponential_lpdf.hpp
eigenvalues_sym.hpp
eigenvectors_sym.hpp
exp_mod_normal_cdf.hpp
exp_mod_normal_lccdf.hpp
exp_mod_normal_lcdf.hpp
exp_mod_normal_lpdf.hpp
exponential_cdf.hpp
exponential_lccdf.hpp
exponential_lcdf.hpp
exponential_lpdf.hpp
frechet_cdf.hpp
frechet_lccdf.hpp
frechet_lcdf.hpp
frechet_lpdf.hpp
gamma_lpdf.hpp
gp_dot_prod_cov.hpp
gp_exp_quad_cov.hpp
gp_exponential_cov.hpp
gp_matern32_cov.hpp
gp_matern52_cov.hpp
gumbel_cdf.hpp
gumbel_lccdf.hpp
gumbel_lcdf.hpp
gumbel_lpdf.hpp
head.hpp
identity_matrix.hpp
inv.hpp
inv_chi_square_lpdf.hpp
inv_cloglog.hpp
inv_gamma_lpdf.hpp
inv_sqrt.hpp
log_mix.hpp
log_softmax.hpp
log_sum_exp.hpp
logistic_cdf.hpp
logistic_lccdf.hpp
logistic_lcdf.hpp
logistic_lpdf.hpp
lognormal_cdf.hpp
lognormal_lccdf.hpp
lognormal_lcdf.hpp
lognormal_lpdf.hpp
matrix_power.hpp
mdivide_left_tri_low.hpp
mdivide_right_tri_low.hpp
mean.hpp
multi_normal_cholesky_lpdf.hpp
multiply_lower_tri_self_transpose.hpp
neg_binomial_2_log_glm_lpmf.hpp
neg_binomial_2_log_lpmf.hpp
neg_binomial_2_lpmf.hpp
neg_binomial_lpmf.hpp
normal_cdf.hpp
normal_id_glm_lpdf.hpp
normal_lccdf.hpp
normal_lcdf.hpp
normal_lpdf.hpp
num_elements.hpp
ordered_logistic_glm_lpmf.hpp
ordered_logistic_lpmf.hpp
pareto_cdf.hpp
pareto_lccdf.hpp
pareto_lcdf.hpp
pareto_lpdf.hpp
pareto_type_2_cdf.hpp
pareto_type_2_lccdf.hpp
pareto_type_2_lcdf.hpp
pareto_type_2_lpdf.hpp
poisson_log_glm_lpmf.hpp
poisson_log_lpmf.hpp
poisson_lpmf.hpp
prod.hpp
qr_Q.hpp
qr_R.hpp
qr_thin_Q.hpp
qr_thin_R.hpp
rank.hpp
rayleigh_cdf.hpp
rayleigh_lccdf.hpp
rayleigh_lcdf.hpp
rayleigh_lpdf.hpp
rep_array.hpp
rep_matrix.hpp
rep_row_vector.hpp
rep_vector.hpp
reverse.hpp
row.hpp
rows.hpp
rows_dot_product.hpp
rows_dot_self.hpp
scaled_inv_chi_square_lpdf.hpp
sd.hpp
segment.hpp
sign.hpp
size.hpp
skew_double_exponential_cdf.hpp
skew_double_exponential_lccdf.hpp
skew_double_exponential_lcdf.hpp
skew_double_exponential_lpdf.hpp
skew_normal_lpdf.hpp
softmax.hpp
sort_asc.hpp
sort_desc.hpp
squared_distance.hpp
std_normal_cdf.hpp
std_normal_lccdf.hpp
std_normal_lcdf.hpp
std_normal_lpdf.hpp
student_t_lpdf.hpp
sub_col.hpp
sub_row.hpp
sum.hpp
symmetrize_from_lower_tri.hpp
symmetrize_from_upper_tri.hpp
tail.hpp
tcrossprod.hpp
to_array_1d.hpp
to_array_2d.hpp
to_matrix.hpp
to_row_vector.hpp
to_vector.hpp
trace.hpp
uniform_cdf.hpp
uniform_lccdf.hpp
uniform_lcdf.hpp
uniform_lpdf.hpp
variance.hpp
weibull_cdf.hpp
weibull_lccdf.hpp
weibull_lcdf.hpp
weibull_lpdf.hpp
ref_type.hpp
scalar_type.hpp
value_type.hpp
opencl_context.hpp
pinned_matrix.hpp
prim_constraint.hpp
qr_decomposition.hpp
ref_type_for_opencl.hpp
to_ref_for_opencl.hpp
tri_inverse.hpp
zeros_strict_tri.hpp
stan
math
opencl
prim.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.