File: stan-functions.txt

package info (click to toggle)
r-cran-rstan 2.19.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,224 kB
  • sloc: cpp: 9,509; sh: 13; makefile: 2
file content (726 lines) | stat: -rw-r--r-- 29,380 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
# This file is semicolon delimited
StanFunction;Arguments;ReturnType
abs;(T x); R
acosh;(T x); R
acos;(T x); R
algebra_solver;(function algebra_system, vector y_guess, vector theta, real[] x_r, int[] x_i, real rel_tol, real f_tol, int max_steps); vector
algebra_solver;(function algebra_system, vector y_guess, vector theta, real[] x_r, int[] x_i); vector
append_array;(T x, T y); T
append_col;(matrix x, matrix y); matrix
append_col;(matrix x, vector y); matrix
append_col;(real x, row_vector y); row_vector
append_col;(row_vector x, real y); row_vector
append_col;(row_vector x, row_vector y); row_vector
append_col;(vector x, matrix y); matrix
append_col;(vector x, vector y); matrix
append_row;(matrix x, matrix y); matrix
append_row;(matrix x, row_vector y); matrix
append_row;(real x, vector y); vector
append_row;(row_vector x, matrix y); matrix
append_row;(row_vector x, row_vector y); matrix
append_row;(vector x, real y); vector
append_row;(vector x, vector y); vector
asinh;(T x); R
asin;(T x); R
atan2;(real y, real x); real
atanh;(T x); R
atan;(T x); R
bernoulli_cdf;(ints y, reals theta); real
bernoulli_lccdf;(ints y , reals theta); real
bernoulli_lcdf;(ints y , reals theta); real
bernoulli_logit_glm_lpmf;(int[] y , matrix x, real alpha, vector beta); real
bernoulli_logit_glm_lpmf;(int[] y , matrix x, vector alpha, vector beta); real
bernoulli_logit_glm;~; real
bernoulli_logit_lpmf;(ints y , reals alpha); real
bernoulli_logit;~; real
bernoulli_logit_rng;(reals alpha); R
bernoulli_lpmf;(ints y , reals theta); real
bernoulli;~; real
bernoulli_rng;(reals theta); R
bessel_first_kind;(int v, real x); real
bessel_second_kind;(int v, real x); real
beta_binomial_cdf;(ints n, ints N, reals alpha, reals beta); real
beta_binomial_lccdf;(ints n , ints N, reals alpha, reals beta); real
beta_binomial_lcdf;(ints n , ints N, reals alpha, reals beta); real
beta_binomial_lpmf;(ints n , ints N, reals alpha, reals beta); real
beta_binomial;~; real
beta_binomial_rng;(ints N, reals alpha, reals beta); R
beta_cdf;(reals theta, reals alpha, reals beta); real
beta_lccdf;(reals theta , reals alpha, reals beta); real
beta_lcdf;(reals theta , reals alpha, reals beta); real
beta_lpdf;(reals theta , reals alpha, reals beta); real
beta_proportion_lccdf;(reals theta , reals mu, reals kappa); real
beta_proportion_lcdf;(reals theta , reals mu, reals kappa); real
beta_proportion_lpdf;(reals theta , reals mu, reals kappa); real
beta_proportion;~; real
beta_proportion_rng;(reals mu, reals kappa); R
beta;~; real
beta_rng;(reals alpha, reals beta); R
binary_log_loss;(int y, real y_hat); real
binomia_cdf;(ints n, ints N, reals theta); real
binomia_lccdf;(ints n , ints N, reals theta); real
binomia_lcdf;(ints n , ints N, reals theta); real
binomial_coefficient_log;(real x, real y); real
binomial_logit_lpmf;(ints n , ints N, reals alpha); real
binomial_logit;~; real
binomia_lpmf;(ints n , ints N, reals theta); real
binomial;~; real
binomial_rng;(ints N, reals theta); R
block;(matrix x, int i, int j, int n_rows, int n_cols); matrix
categorical_logit_lpmf;(ints y , vector beta); real
categorical_logit;~; real
categorical_logit_rng;(vector beta); int
categorical_lpmf;(ints y , vector theta); real
categorical;~; real
categorical_rng;(vector theta); int
cauchy_cdf;(reals y, reals mu, reals sigma); real
cauchy_lccdf;(reals y , reals mu, reals sigma); real
cauchy_lcdf;(reals y , reals mu, reals sigma); real
cauchy_lpdf;(reals y , reals mu, reals sigma); real
cauchy;~; real
cauchy_rng;(reals mu, reals sigma); R
cbrt;(T x); R
ceil;(T x); R
chi_square_cdf;(reals y, reals nu); real
chi_square_lccdf;(reals y , reals nu); real
chi_square_lcdf;(reals y , reals nu); real
chi_square_lpdf;(reals y , reals nu); real
chi_square;~; real
chi_square_rng;(reals nu); R
cholesky_decompose;(matrix A); matrix
choose;(int x, int y); int
col;(matrix x, int n); vector
cols;(matrix x); int
cols;(row_vector x); int
cols;(vector x); int
columns_dot_product;(matrix x, matrix y); row_vector
columns_dot_product;(row_vector x, row_vector y); row_vector
columns_dot_product;(vector x, vector y); row_vector
columns_dot_self;(matrix x); row_vector
columns_dot_self;(row_vector x); row_vector
columns_dot_self;(vector x); row_vector
cosh;(T x); R
cos;(T x); R
cov_exp_quad;(real[] x1, real[] x2, real alpha, real rho); matrix
cov_exp_quad;(real[] x, real alpha, real rho); matrix
cov_exp_quad;(row_vectors x1, row_vectors x2, real alpha, real rho); matrix
cov_exp_quad;(row_vectors x, real alpha, real rho); matrix
cov_exp_quad;(vectors x1, vectors x2, real alpha, real rho); matrix
cov_exp_quad;(vectors x, real alpha, real rho); matrix
crossprod;(matrix x); matrix
csr_extract_u;(matrix a); int[]
csr_extract_v;(matrix a); int[]
csr_extract_w;(matrix a); vector
csr_matrix_times_vector;(int m, int n, vector w, int[] v, int[] u, vector b); vector
csr_to_dense_matrix;(int m, int n, vector w, int[] v, int[] u); matrix
cumulative_sum;(real[] x); real[]
cumulative_sum;(row_vector rv); row_vector
cumulative_sum;(vector v); vector
determinant;(matrix A); real
diag_matrix;(vector x); matrix
diagonal;(matrix x); vector
diag_post_multiply;(matrix m, row_vector rv); matrix
diag_post_multiply;(matrix m, vector v); matrix
diag_pre_multiply;(row_vector rv, matrix m); matrix
diag_pre_multiply;(vector v, matrix m); matrix
digamma;(T x); R
dims;(T x); int[]
dirichlet_lpdf;(vector theta | vector alpha); real
dirichlet;~; real
dirichlet_rng;(vector alpha); vector
distance;(row_vector x, row_vector y); real
distance;(row_vector x, vector y); real
distance;(vector x, row_vector y); real
distance;(vector x, vector y); real
dot_product;(row_vector x, row_vector y); real
dot_product;(row_vector x, vector y); real
dot_product;(vector x, row_vector y); real
dot_product;(vector x, vector y); real
dot_self;(row_vector x); real
dot_self;(vector x); real
double_exponential_cdf;(reals y, reals mu, reals sigma); real
double_exponential_lccdf;(reals y , reals mu, reals sigma); real
double_exponential_lcdf;(reals y , reals mu, reals sigma); real
double_exponential_lpdf;(reals y , reals mu, reals sigma); real
double_exponential;~; real
double_exponential_rng;(reals mu, reals sigma); R
eigenvalues_sym;(matrix A); vector
eigenvectors_sym;(matrix A); matrix
e;(); real
erfc;(T x); R
erf;(T x); R
exp2;(T x); R
expm1;(T x); R
exp_mod_normal_cdf;(reals y, reals mu, reals sigma, reals lambda); real
exp_mod_normal_lccdf;(reals y , reals mu, reals sigma, reals lambda); real
exp_mod_normal_lcdf;(reals y | reals mu, reals sigma, reals lambda); real
exp_mod_normal_lpdf;(reals y | reals mu, reals sigma, reals lambda); real
exp_mod_normal;~; real
exp_mod_normal_rng;(reals mu, reals sigma, reals lambda); R
exponential_cdf;(reals y, reals beta); real
exponential_lccdf;(reals y , reals beta); real
exponential_lcdf;(reals y , reals beta); real
exponential_lpdf;(reals y , reals beta); real
exponential;~; real
exponential_rng;(reals beta); R
exp;(T x); R
fabs;(T x); R
falling_factorial;(real x, real n); real
fdim;(real x, real y); real
floor;(T x); R
fma;(real x, real y, real z); real
fmax;(real x, real y); real
fmin;(real x, real y); real
fmod;(real x, real y); real
frechet_cdf;(reals y, reals alpha, reals sigma); real
frechet_lccdf;(reals y , reals alpha, reals sigma); real
frechet_lcdf;(reals y , reals alpha, reals sigma); real
frechet_lpdf;(reals y , reals alpha, reals sigma); real
frechet;~; real
frechet_rng;(reals alpha, reals sigma); R
gamma_cdf;(reals y, reals alpha, reals beta); real
gamma_lccdf;(reals y , reals alpha, reals beta); real
gamma_lcdf;(reals y , reals alpha, reals beta); real
gamma_lpdf;(reals y , reals alpha, reals beta); real
gamma_p;(real a, real z); real
gamma_q;(real a, real z); real
gamma;~; real
gamma_rng;(reals alpha, reals beta); R
gaussian_dlm_obs_lpdf;(matrix y , matrix F, matrix G, matrix V, matrix W, vector m0, matrix C0); real
gaussian_dlm_obs_lpdf;(matrix y , matrix F, matrix G, vector V, matrix W, vector m0, matrix C0); real
gaussian_dlm_obs;~; real
get_lp;(); real
gumbel_cdf;(reals y, reals mu, reals beta); real
gumbel_lccdf;(reals y , reals mu, reals beta); real
gumbel_lcdf;(reals y , reals mu, reals beta); real
gumbel_lpdf;(reals y , reals mu, reals beta); real
gumbel;~; real
gumbel_rng;(reals mu, reals beta); R
head;(row_vector rv, int n); row_vector
head;(T[] sv, int n); T[]
head;(vector v, int n); vector
hypergeometric_lpmf;(int n ~|~ int N, int a, int b); real
hypergeometric;~; real
hypergeometric_rng;(int N, int a, int2 b); int
hypot;(real x, real y); real
inc_beta;(real alpha, real beta, real x); real
integrate_ode_bdf;(function ode, real[] initial_state, real initial_time, real[] times, real[] theta, data real[] x_r, data int[] x_i, data real rel_tol, data real abs_tol, dta int max_num_steps); real[]
integrate_ode_bdf;(function ode, real[] initial_state, real initial_time, real[] times, real[] theta, data real[] x_r, data int[] x_i); real[]
integrate_ode;(function ode, real[] initial_state, real initial_time, real[] times, real[] theta, real[] x_r, int[] x_i); real[ , ]
integrate_ode_rk45;(function ode, real[] initial_state, real initial_time, real[] times, real[] theta, real[] x_r, int[] x_i); real[ , ]
integrate_ode_rk45;(function ode, real[] initial_state, real initial_time, real[] times, real[] theta, real[] x_r, int[] x_i, real rel_tol, real abs_tol, int max_num_steps); real[ , ]
int_step;(int x); int
int_step;(real x); int
inv_chi_square_cdf;(reals y, reals nu); real
inv_chi_square_lccdf;(reals y , reals nu); real
inv_chi_square_lcdf;(reals y , reals nu); real
inv_chi_square_lpdf;(reals y , reals nu); real
inv_chi_square;~; real
inv_chi_square_rng;(reals nu); R
inv_cloglog;(T x); R
inverse;(matrix A); matrix
inverse_spd;(matrix A); matrix
inv_gamma_cdf;(reals y, reals alpha, reals beta); real
inv_gamma_lccdf;(reals y , reals alpha, reals beta); real
inv_gamma_lcdf;(reals y , reals alpha, reals beta); real
inv_gamma_lpdf;(reals y , reals alpha, reals beta); real
inv_gamma;~; real
inv_gamma_rng;(reals alpha, reals beta); R
inv_logit;(T x); R
inv_phi;(T x); R
inv_sqrt;(T x); R
inv_square;(T x); R
inv;(T x); R
inv_wishart_lpdf;(matrix W , real nu, matrix Sigma); real
inv_wishart;~; real
inv_wishart_rng;(real nu, matrix Sigma); matrix
is_inf;(real x); int
is_nan;(real x); int
lbeta;(real alpha, real beta); real
lchoose;(real x, real y); real
lgamma;(T x); R
lkj_corr_cholesky_lpdf;(matrix L , real eta); real
lkj_corr_cholesky;~; real
lkj_corr_cholesky_rng;(int K, real eta); matrix
lkj_corr_lpdf;(matrix y , real eta); real
lkj_corr;~; real
lkj_corr_rng;(int K, real eta); matrix
lmgamma;(int n, real x); real
lmultiply;(real x, real y); real
log10;(); real
log10;(T x); R
log1m_exp;(T x); R
log1m_inv_logit;(T x); R
log1m;(T x); R
log1p_exp;(T x); R
log1p;(T x); R
log2;(); real
log2;(T x); R
log_determinant;(matrix A); real
log_diff_exp;(real x, real y); real
log_falling_factorial;(real x, real n); real
log_inv_logit;(T x); R
logistic_cdf;(reals y, reals mu, reals sigma); real
logistic_lccdf;(reals y , reals mu, reals sigma); real
logistic_lcdf;(reals y , reals mu, reals sigma); real
logistic_lpdf;(reals y , reals mu, reals sigma); real
logistic;~; real
logistic_rng;(reals mu, reals sigma); R
logit;(T x); R
log_mix;(real theta, real lp1, real lp2); real
lognormal_cdf;(reals y, reals mu, reals sigma); real
lognormal_lccdf;(reals y , reals mu, reals sigma); real
lognormal_lcdf;(reals y , reals mu, reals sigma); real
lognormal_lpdf;(reals y , reals mu, reals sigma); real
lognormal;~; real
lognormal_rng;(reals mu, reals beta); R
log_rising_factorial;(real x, real n); real
log_softmax;(vector x); vector
log_sum_exp;(matrix x); real
log_sum_exp;(real[] x); real
log_sum_exp;(real x, real y); real
log_sum_exp;(row_vector x); real
log_sum_exp;(vector x); real
log;(T x); R
machine_precision;(); real
map_rect;(F f, vector phi, vector[] theta, data real[,] x_r, data int[,] x_i); vector
matrix_exp;(matrix A); matrix
matrix_exp_multiply;(matrix A, matrix B); matrix
max;(int[] x); int
max;(int x, int y); int
max;(matrix x); real
max;(real[] x); real
max;(row_vector x); real
max;(vector x); real
mdivide_left_spd;(matrix A, matrix B); vector
mdivide_left_spd;(matrix A, vector b); matrix
mdivide_left_tri_low;(matrix A, matrix B); matrix
mdivide_left_tri_low;(matrix A, vector b); vector
mdivide_right_spd;(matrix B, matrix A); matrix
mdivide_right_spd;(row_vector b, matrix A); row_vector
mdivide_right_tri_low;(matrix B, matrix A); matrix
mdivide_right_tri_low;(row_vector b, matrix A); row_vector
mean;(matrix x); real
mean;(real[] x); real
mean;(row_vector x); real
mean;(vector x); real
min;(int[] x); int
min;(int x, int y); int
min;(matrix x); real
min;(real[] x); real
min;(row_vector x); real
min;(vector x); real
modified_bessel_first_kind;(int v, real z); real
modified_bessel_second_kind;(int v, real z); real
multi_gp_cholesky_lpdf;(matrix y , matrix L, vector w); real
multi_gp_cholesky;~; real
multi_gp_lpdf;(matrix y , matrix Sigma, vector w); real
multi_gp;~; real
multinomial_lpmf;(int[] y , vector theta); real
multinomial;~; real
multinomial_rng;(vector theta, int N); int[]
multi_normal_cholesky_lpdf;(row_vectors y , row_vectors mu, matrix L); real
multi_normal_cholesky_lpdf;(row_vectors y , vectors mu, matrix L); real
multi_normal_cholesky_lpdf;(vectors y , row_vectors mu, matrix L); real
multi_normal_cholesky_lpdf;(vectors y , vectors mu, matrix L); real
multi_normal_cholesky;~; real
multi_normal_cholesky_rng;(row_vector mu, matrix L); vector
multi_normal_cholesky_rng;(row_vectors mu, matrix L); vectors
multi_normal_cholesky_rng;(vector mu, matrix L); vector
multi_normal_cholesky_rng;(vectors mu, matrix L); vectors
multi_normal_lpdf;(row_vectors y , row_vectors mu, matrix Sigma); real
multi_normal_lpdf;(row_vectors y , vectors mu, matrix Sigma); real
multi_normal_lpdf;(vectors y , row_vectors mu, matrix Sigma); real
multi_normal_lpdf;(vectors y , vectors mu, matrix Sigma); real
multi_normal_prec_lpdf;(row_vectors y , row_vectors mu, matrix Omega); real
multi_normal_prec_lpdf;(row_vectors y , vectors mu, matrix Omega); real
multi_normal_prec_lpdf;(vectors y , row_vectors mu, matrix Omega); real
multi_normal_prec_lpdf;(vectors y , vectors mu, matrix Omega); real
multi_normal_prec;~; real
multi_normal;~; real
multi_normal_rng;(row_vector mu, matrix Sigma); vector
multi_normal_rng;(row_vectors mu, matrix Sigma); vectors
multi_normal_rng;(vector mu, matrix Sigma); vector
multi_normal_rng;(vectors mu, matrix Sigma); vectors
multiply_log;(real x, real y); real
multiply_lower_tri_self_transpose;(matrix x); matrix
multi_student_t_lpdf;(row_vectors y , real nu, row_vectors mu, matrix Sigma); real
multi_student_t_lpdf;(row_vectors y , real nu, vectors mu, matrix Sigma); real
multi_student_t_lpdf;(vectors y , real nu, row_vectors mu, matrix Sigma); real
multi_student_t_lpdf;(vectors y , real nu, vectors mu, matrix Sigma); real
multi_student_t;~; real
multi_student_t_rng;(real nu, row_vector mu, matrix Sigma); vector
multi_student_t_rng;(real nu, row_vectors mu, matrix Sigma); vectors
multi_student_t_rng;(real nu, vector mu, matrix Sigma); vector
multi_student_t_rng;(real nu, vectors mu, matrix Sigma); vectors
negative_infinity;(); real
neg_binomial_2_cdf;(ints n, reals mu, reals phi); real
neg_binomial_2_lccdf;(ints n , reals mu, reals phi); real
neg_binomial_2_lcdf;(ints n , reals mu, reals phi); real
neg_binomial_2_log_glm_lpmf;(int[] y , matrix x, real alpha, vector beta, real phi); real
neg_binomial_2_log_glm_lpmf;(int[] y , matrix x, vector alpha, vector beta, real phi); real
neg_binomial_2_log_glm;~; real
neg_binomial_2_log_lpmf;(ints y , reals eta, reals phi); real
neg_binomial_2_log;~; real
neg_binomial_2_log_rng;(reals eta, reals phi); R
neg_binomial_2_lpmf;(ints y , reals mu, reals phi); real
neg_binomial_2;~; real
neg_binomial_2_rng;(reals mu, reals phi); R
neg_binomial_cdf;(ints n, reals alpha, reals beta); real
neg_binomial_lccdf;(ints n , reals alpha, reals beta); real
neg_binomial_lcdf;(ints n , reals alpha, reals beta); real
neg_binomial_lpmf;(ints n , reals alpha, reals beta); real
neg_binomial;~; real
neg_binomial_rng;(reals alpha, reals beta); R
normal_cdf;(reals y, reals mu, reals sigma); real
normal_id_glm_lpmf;(vector y , matrix x, real alpha, vector beta, real sigma); real
normal_id_glm_lpmf;(vector y , matrix x, vector alpha, vector beta, real sigma); real
normal_id_glm;~; real
normal_lccdf;(reals y , reals mu, reals sigma); real
normal_lcdf;(reals y , reals mu, reals sigma); real
normal_lpdf;(reals y , reals mu, reals sigma); real
normal;~; real
normal_rng;(reals mu, reals sigma); R
not_a_number;(); real
num_elements;(matrix x); int
num_elements;(row_vector x); int
num_elements;(T[] x); int
num_elements;(vector x); int
operator-;(int x); int
operator!;(int x); int
operator+;(int x); int
operator<=;(int x, int y); int
operator<;(int x, int y); int
operator>=;(int x, int y); int
operator>;(int x, int y); int
operator||;(int x, int y); int
operator-;(int x, int y); int
operator!=;(int x, int y); int
operator*;(int x, int y); int
operator\;(int x, int y); int
operator&&;(int x, int y); int
operator%;(int x, int y); int
operator+;(int x, int y); int
operator-=;(int x, int y); void
operator/=;(int x, int y); void
operator*=;(int x, int y); void
operator+=;(int x, int y); void
operator_logial_equal;(int x, int y); int
operator_logial_equal;(real x, real y); int
operator\;(matrix A, matrix B); matrix
operator\;(matrix A, vector b); vector
operator\;(matrix B, matrix A); matrix
operator-;(matrix x); matrix
operator';(matrix x); matrix
operator-;(matrix x, matrix y); matrix
operator.*;(matrix x, matrix y); matrix
operator.\;(matrix x, matrix y); matrix
operator*;(matrix x, matrix y); matrix
operator+;(matrix x, matrix y); matrix
operator-=;(matrix x, matrix y); void
operator./=;(matrix x, matrix y); void
operator.*=;(matrix x, matrix y); void
operator*=;(matrix x, matrix y); void
operator+=;(matrix x, matrix y); void
operator-;(matrix x, real y); matrix
operator.\;(matrix x, real y); matrix
operator*;(matrix x, real y); matrix
operator\;(matrix x, real y); matrix
operator+;(matrix x, real y); matrix
operator-=;(matrix x, real y); void
operator/=;(matrix x, real y); void
operator./=;(matrix x, real y); void
operator*=;(matrix x, real y); void
operator+=;(matrix x, real y); void
operator*;(matrix x, vector y); vector
operator!;(real x); int
operator-;(real x, matrix y); matrix
operator.\;(real x, matrix y); matrix
operator*;(real x, matrix y); matrix
operator+;(real x, matrix y); matrix
operator-;(real x); real
operator+;(real x); real
operator<=;(real x, real y); int
operator<;(real x, real y); int
operator>=;(real x, real y); int
operator>;(real x, real y); int
operator||;(real x, real y); int
operator!=;(real x, real y); int
operator&&;(real x, real y); int
operator^;(real x, real y); real
operator-;(real x, real y); real
operator*;(real x, real y); real
operator\;(real x, real y); real
operator+;(real x, real y); real
operator-=;(real x, real y); void
operator/=;(real x, real y); void
operator*=;(real x, real y); void
operator+=;(real x, real y); void
operator-;(real x, row_vector y); row_vector
operator.\;(real x, row_vector y); row_vector
operator*;(real x, row_vector y); row_vector
operator+;(real x, row_vector y); row_vector
operator-;(real x, vector y); vector
operator.\;(real x, vector y); vector
operator*;(real x, vector y); vector
operator+;(real x, vector y); vector
operator\;(row_vector b, matrix A); row_vector
operator*;(row_vector x, matrix y); row_vector
operator*=;(row_vector x, matrix y); void
operator-;(row_vector x, real y); row_vector
operator.\;(row_vector x, real y); row_vector
operator*;(row_vector x, real y); row_vector
operator\;(row_vector x, real y); row_vector
operator+;(row_vector x, real y); row_vector
operator-=;(row_vector x, real y); void
operator/=;(row_vector x, real y); void
operator./=;(row_vector x, real y); void
operator*=;(row_vector x, real y); void
operator+=;(row_vector x, real y); void
operator-;(row_vector x); row_vector
operator-;(row_vector x, row_vector y); row_vector
operator.*;(row_vector x, row_vector y); row_vector
operator.\;(row_vector x, row_vector y); row_vector
operator+;(row_vector x, row_vector y); row_vector
operator-=;(row_vector x, row_vector y); void
operator./=;(row_vector x, row_vector y); void
operator.*=;(row_vector x, row_vector y); void
operator+=;(row_vector x, row_vector y); void
operator';(row_vector x); vector
operator*;(row_vector x, vector y); real
operator-;(vector x, real y); vector
operator.\;(vector x, real y); vector
operator*;(vector x, real y); vector
operator\;(vector x, real y); vector
operator+;(vector x, real y); vector
operator-=;(vector x, real y); void
operator/=;(vector x, real y); void
operator./=;(vector x, real y); void
operator*=;(vector x, real y); void
operator+=;(vector x, real y); void
operator';(vector x); row_vector
operator*;(vector x, row_vector y); matrix
operator-;(vector x); vector
operator-;(vector x, vector y); vector
operator.*;(vector x, vector y); vector
operator.\;(vector x, vector y); vector
operator+;(vector x, vector y); vector
operator-=;(vector x, vector y); void
operator./=;(vector x, vector y); void
operator.*=;(vector x, vector y); void
operator+=;(vector x, vector y); void
ordered_logistic_lpmf;(ints k , vector eta, vectors c); real
ordered_logistic;~; real
ordered_logistic_rng;(real eta, vector c); int
ordered_probit_lpmf;(ints k , vector eta, vectors c); real
ordered_probit;~; real
ordered_probit_rng;(real eta, vector c); int
owens_t;(real h, real a); real
pareto_cdf;(reals y, reals y_min, reals alpha); real
pareto_lccdf;(reals y , reals y_min, reals alpha); real
pareto_lcdf;(reals y , reals y_min, reals alpha); real
pareto_lpdf;(reals y , reals y_min, reals alpha); real
pareto;~; real
pareto_rng;(reals y_min, reals alpha); R
pareto_type_2_cdf;(reals y, reals mu, reals lambda, reals alpha); real
pareto_type_2_lccdf;(reals y , reals mu, reals lambda, reals alpha); real
pareto_type_2_lcdf;(reals y , reals mu, reals lambda, reals alpha); real
pareto_type_2_lpdf;(reals y , reals mu, reals lambda, reals alpha); real
pareto_type_2;~; real
pareto_type_2_rng;(reals mu, reals lambda, reals alpha); R
phi_approx;(T x); R
phi;(T x); R
pi;(); real
poisson_cdf;(ints n, reals lambda); real
poisson_lccdf;(ints n , reals lambda); real
poisson_lcdf;(ints n , reals lambda); real
poisson_log_glm_lpmf;(int[] y , matrix x, real alpha, vector beta); real
poisson_log_glm_lpmf;(int[] y , matrix x, vector alpha, vector beta); real
poisson_log_glm;~; real
poisson_log_lpmf;(ints n , reals alpha); real
poisson_log;~; real
poisson_log_rng;(reals alpha); R
poisson_lpmf;(ints n | reals lambda); real
poisson;~; real
poisson_rng;(reals lambda); R
positive_infinity;(); real
pow;(real x, real y); real
print;(T1 x1,..., TN xN); void
prod;(int[] x); real
prod;(matrix x); real
prod;(real[] x); real
prod;(row_vector x); real
prod;(vector x); real
qr_q;(matrix A); matrix
qr_r;(matrix A); matrix
qr_thin_q;(matrix A); matrix
qr_thin_r;(matrix A); matrix
quad_form_diag;(matrix m, row_vector rv); matrix
quad_form_diag;(matrix m, vector v); matrix
quad_form;(matrix A, matrix B); matrix
quad_form;(matrix A, vector B); real
quad_form_sym;(matrix A, matrix B); matrix
quad_form_sym;(matrix A, vector B); real
rank;(int[] v, int s); int
rank;(real[] v, int s); int
rank;(row_vector v, int s); int
rank;(vector v, int s); int
rayleigh_cdf;(real y, real sigma); real
rayleigh_lccdf;(real y , real sigma); real
rayleigh_lcdf;(real y , real sigma); real
rayleigh_lpdf;(reals y , reals sigma); real
rayleigh;~; real
rayleigh_rng;(reals sigma); R
reject;(T1 x1,..., TN xN); void
rep_array;(T x, int k, int m, int n); T[,,]
rep_array;(T x, int m, int n); T[,]
rep_array;(T x, int n); T[]
rep_matrix;(real x, int m, int n); matrix
rep_matrix;(row_vector rv, int m); matrix
rep_matrix;(vector v, int n); matrix
rep_row_vector;(real x, int n); row_vector
rep_vector;(real x, int m); vector
rising_factorial;(real x, real n); real
round;(T x); R
row;(matrix x, int m); row_vector
rows_dot_product;(matrix x, matrix y); vector
rows_dot_product;(row_vector x, row_vector y); vector
rows_dot_product;(vector x, vector y); vector
rows_dot_self;(matrix x); vector
rows_dot_self;(row_vector x); vector
rows_dot_self;(vector x); vector
rows;(matrix x); int
rows;(row_vector x); int
rows;(vector x); int
scaled_inv_chi_square_cdf;(reals y, reals nu, reals sigma); real
scaled_inv_chi_square_lccdf;(reals y , reals nu, reals sigma); real
scaled_inv_chi_square_lcdf;(reals y , reals nu, reals sigma); real
scaled_inv_chi_square_lpdf;(reals y , reals nu, reals sigma); real
scaled_inv_chi_square;~; real
scaled_inv_chi_square_rng;(reals nu, reals sigma); R
scale_matrix_exp_multiply;(real t, matrix A, matrix B); matrix
sd;(matrix x); real
sd;(real[] x); real
sd;(row_vector x); real
sd;(vector x); real
segment;(row_vector rv, int i, int n); row_vector
segment;(T[] sv, int i, int n); T[]
segment;(vector v, int i, int n); vector
singular_values;(matrix A); vector
sinh;(T x); R
sin;(T x); R
size;(T[] x); int
skew_normal_cdf;(reals y, reals xi, reals omega, reals alpha); real
skew_normal_lccdf;(reals y , reals xi, reals omega, reals alpha); real
skew_normal_lcdf;(reals y , reals xi, reals omega, reals alpha); real
skew_normal_lpdf;(reals y , reals xi, reals omega, reals alpha); real
skew_normal;~; real
skew_normal_rng;(reals xi, reals omega, real alpha); R
softmax;(vector x); vector
sort_asc;(int[] v); int[]
sort_asc;(real[] v); real[]
sort_asc;(row_vector v); row_vector
sort_asc;(vector v); vector
sort_desc;(int[] v); int[]
sort_desc;(real[] v); real[]
sort_desc;(row_vector v); row_vector
sort_desc;(vector v); vector
sort_indices_asc;(int[] v); int[]
sort_indices_asc;(real[] v); int[]
sort_indices_asc;(row_vector v); int[]
sort_indices_asc;(vector v); int[]
sort_indices_desc;(int[] v); int[]
sort_indices_desc;(real[] v); int[]
sort_indices_desc;(row_vector v); int[]
sort_indices_desc;(vector v); int[]
sqrt2;(); real
sqrt;(T x); R
squared_distance;(row_vector x, row_vector[] y); real
squared_distance;(row_vector x, vector [] y); real
squared_distance;(vector x, row_vector [] y); real
squared_distance;(vector x, vector y); real
square;(T x); R
std_normal_lpdf;(reals y); real
std_normal;~; real
step;(real x); real
student_t_cdf;(reals y, reals nu, reals mu, reals sigma); real
student_t_lccdf;(reals y , reals nu, reals mu, reals sigma); real
student_t_lcdf;(reals y , reals nu, reals mu, reals sigma); real
student_t_lpdf;(reals y , reals nu, reals mu, reals sigma); real
student_t;~; real
student_t_rng;(reals nu, reals mu, reals sigma); R
sub_col;(matrix x, int i, int j, int n_rows); vector
sub_row;(matrix x, int i, int j, int n_cols); row_vector
sum;(int[] x); int
sum;(matrix x); real
sum;(real[] x); real
sum;(row_vector x); real
sum;(vector x); real
tail;(row_vector rv, int n); row_vector
tail;(T[] sv, int n); T[]
tail;(vector v, int n); vector
tanh;(T x); R
tan;(T x); R
target;(); real
tcrossprod;(matrix x); matrix
tgamma;(T x); R
to_array_1d;(int[...] a); int[]
to_array_1d;(matrix m); real[]
to_array_1d;(real[...] a); real[]
to_array_1d;(row_vector v); real[]
to_array_1d;(vector v); real[]
to_array_2d;(matrix m); real[,]
to_matrix;(int[] a, int m, int n, int col_major); matrix
to_matrix;(int[] a, int m, int n); matrix
to_matrix;(int[,] a); matrix
to_matrix;(matrix m, int m, int n, int col_major); matrix
to_matrix;(matrix m, int m, int n); matrix
to_matrix;(matrix m); matrix
to_matrix;(real[] a, int m, int n, int col_major); matrix
to_matrix;(real[] a, int m, int n); matrix
to_matrix;(real[,] a); matrix
to_matrix;(row_vector v, int m, int n, int col_major); matrix
to_matrix;(row_vector v, int m, int n); matrix
to_matrix;(row_vector v); matrix
to_matrix;(vector v, int m, int n, int col_major); matrix
to_matrix;(vector v, int m, int n); matrix
to_matrix;(vector v); matrix
to_row_vector;(int[] a); row_vector
to_row_vector;(matrix m); row_vector
to_row_vector;(real[] a); row_vector
to_row_vector;(row_vector v); row_vector
to_row_vector;(vector v); row_vector
to_vector;(int[] a); vector
to_vector;(matrix m); vector
to_vector;(real[] a); vector
to_vector;(row_vector v); vector
to_vector;(vector v); vector
trace_gen_quad_form;(matrix D,matrix A, matrix B); real
trace;(matrix A); real
trace_quad_form;(matrix A, matrix B); real
trigamma;(T x); R
trunc;(T x); R
uniform_cdf;(reals y, reals alpha, reals beta); real
uniform_lccdf;(reals y , reals alpha, reals beta); real
uniform_lcdf;(reals y , reals alpha, reals beta); real
uniform_lpdf;(reals y , reals alpha, reals beta); real
uniform;~; real
uniform_rng;(reals alpha, reals beta); R
variance;(matrix x); real
variance;(real[] x); real
variance;(row_vector x); real
variance;(vector x); real
von_mises_lpdf;(reals y , reals mu, reals kappa); R
von_mises;~; real
von_mises_rng;(reals mu, reals kappa); R
weibull_cdf;(reals y, reals alpha, reals sigma); real
weibull_lccdf;(reals y , reals alpha, reals sigma); real
weibull_lcdf;(reals y , reals alpha, reals sigma); real
weibull_lpdf;(reals y , reals alpha, reals sigma); real
weibull;~; real
weibull_rng;(reals alpha, reals sigma); R
wiener_lpdf;(reals y , reals alpha, reals tau, reals beta, reals delta); real
wiener;~; real
wishart_lpdf;(matrix W , real nu, matrix Sigma); real
wishart;~; real
wishart_rng;(real nu, matrix Sigma); matrix