_stan_builtins.py 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. """
  2. pygments.lexers._stan_builtins
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. This file contains the names of functions for Stan used by
  5. ``pygments.lexers.math.StanLexer. This is for Stan language version 2.36.0.
  6. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
  7. :license: BSD, see LICENSE for details.
  8. """
  9. KEYWORDS = (
  10. 'break',
  11. 'continue',
  12. 'else',
  13. 'for',
  14. 'if',
  15. 'in',
  16. 'print',
  17. 'reject',
  18. 'return',
  19. 'while',
  20. 'fatal_error',
  21. 'target'
  22. )
  23. TYPES = (
  24. 'cholesky_factor_corr',
  25. 'cholesky_factor_cov',
  26. 'corr_matrix',
  27. 'cov_matrix',
  28. 'int',
  29. 'matrix',
  30. 'ordered',
  31. 'positive_ordered',
  32. 'real',
  33. 'row_vector',
  34. 'simplex',
  35. 'unit_vector',
  36. 'vector',
  37. 'void',
  38. 'array',
  39. 'complex',
  40. 'complex_vector',
  41. 'complex_matrix',
  42. 'complex_row_vector',
  43. 'corr_matrix',
  44. 'cholesky_factor_corr',
  45. 'column_stochastic_matrix',
  46. 'row_stochastic_matrix',
  47. 'sum_to_zero_vector',
  48. 'sum_to_zero_matrix'
  49. )
  50. FUNCTIONS = (
  51. 'Phi',
  52. 'Phi_approx',
  53. 'abs',
  54. 'acos',
  55. 'acosh',
  56. 'add_diag',
  57. 'algebra_solver',
  58. 'algebra_solver_newton',
  59. 'append_array',
  60. 'append_col',
  61. 'append_row',
  62. 'arg',
  63. 'asin',
  64. 'asinh',
  65. 'atan',
  66. 'atan2',
  67. 'atanh',
  68. 'bernoulli_cdf',
  69. 'bernoulli_lccdf',
  70. 'bernoulli_lcdf',
  71. 'bernoulli_logit_glm_lpmf',
  72. 'bernoulli_logit_glm_lupmf',
  73. 'bernoulli_logit_glm_rng',
  74. 'bernoulli_logit_lpmf',
  75. 'bernoulli_logit_lupmf',
  76. 'bernoulli_logit_rng',
  77. 'bernoulli_lpmf',
  78. 'bernoulli_lupmf',
  79. 'bernoulli_rng',
  80. 'bessel_first_kind',
  81. 'bessel_second_kind',
  82. 'beta',
  83. 'beta_binomial_cdf',
  84. 'beta_binomial_lccdf',
  85. 'beta_binomial_lcdf',
  86. 'beta_binomial_lpmf',
  87. 'beta_binomial_lupmf',
  88. 'beta_binomial_rng',
  89. 'beta_cdf',
  90. 'beta_lccdf',
  91. 'beta_lcdf',
  92. 'beta_lpdf',
  93. 'beta_lupdf',
  94. 'beta_neg_binomial_cdf',
  95. 'beta_neg_binomial_lccdf',
  96. 'beta_neg_binomial_lcdf',
  97. 'beta_neg_binomial_lpmf',
  98. 'beta_neg_binomial_lupmf',
  99. 'beta_neg_binomial_rng',
  100. 'beta_proportion_lccdf',
  101. 'beta_proportion_lcdf',
  102. 'beta_proportion_rng',
  103. 'beta_rng',
  104. 'binary_log_loss',
  105. 'binomial_cdf',
  106. 'binomial_lccdf',
  107. 'binomial_lcdf',
  108. 'binomial_logit_glm_lpmf',
  109. 'binomial_logit_glm_lupmf',
  110. 'binomial_logit_lpmf',
  111. 'binomial_logit_lupmf',
  112. 'binomial_lpmf',
  113. 'binomial_lupmf',
  114. 'binomial_rng',
  115. 'block',
  116. 'categorical_logit_glm_lpmf',
  117. 'categorical_logit_glm_lupmf',
  118. 'categorical_logit_lpmf',
  119. 'categorical_logit_lupmf',
  120. 'categorical_logit_rng',
  121. 'categorical_lpmf',
  122. 'categorical_lupmf',
  123. 'categorical_rng',
  124. 'cauchy_cdf',
  125. 'cauchy_lccdf',
  126. 'cauchy_lcdf',
  127. 'cauchy_lpdf',
  128. 'cauchy_lupdf',
  129. 'cauchy_rng',
  130. 'cbrt',
  131. 'ceil',
  132. 'chi_square_cdf',
  133. 'chi_square_lccdf',
  134. 'chi_square_lcdf',
  135. 'chi_square_lpdf',
  136. 'chi_square_lupdf',
  137. 'chi_square_rng',
  138. 'chol2inv',
  139. 'cholesky_decompose',
  140. 'cholesky_factor_corr_constrain',
  141. 'cholesky_factor_corr_jacobian',
  142. 'cholesky_factor_corr_unconstrain',
  143. 'cholesky_factor_cov_constrain',
  144. 'cholesky_factor_cov_jacobian',
  145. 'cholesky_factor_cov_unconstrain',
  146. 'choose',
  147. 'col',
  148. 'cols',
  149. 'columns_dot_product',
  150. 'columns_dot_self',
  151. 'complex_schur_decompose',
  152. 'complex_schur_decompose_t',
  153. 'complex_schur_decompose_u',
  154. 'conj',
  155. 'corr_matrix_constrain',
  156. 'corr_matrix_jacobian',
  157. 'corr_matrix_unconstrain',
  158. 'cos',
  159. 'cosh',
  160. 'cov_exp_quad',
  161. 'cov_matrix_constrain',
  162. 'cov_matrix_jacobian',
  163. 'cov_matrix_unconstrain',
  164. 'crossprod',
  165. 'csr_extract',
  166. 'csr_extract_u',
  167. 'csr_extract_v',
  168. 'csr_extract_w',
  169. 'csr_matrix_times_vector',
  170. 'csr_to_dense_matrix',
  171. 'cumulative_sum',
  172. 'dae',
  173. 'dae_tol',
  174. 'determinant',
  175. 'diag_matrix',
  176. 'diag_post_multiply',
  177. 'diag_pre_multiply',
  178. 'diagonal',
  179. 'digamma',
  180. 'dims',
  181. 'dirichlet_lpdf',
  182. 'dirichlet_lupdf',
  183. 'dirichlet_multinomial_lpmf',
  184. 'dirichlet_multinomial_lupmf',
  185. 'dirichlet_multinomial_rng',
  186. 'dirichlet_rng',
  187. 'discrete_range_cdf',
  188. 'discrete_range_lccdf',
  189. 'discrete_range_lcdf',
  190. 'discrete_range_lpmf',
  191. 'discrete_range_lupmf',
  192. 'discrete_range_rng',
  193. 'distance',
  194. 'dot_product',
  195. 'dot_self',
  196. 'double_exponential_cdf',
  197. 'double_exponential_lccdf',
  198. 'double_exponential_lcdf',
  199. 'double_exponential_lpdf',
  200. 'double_exponential_lupdf',
  201. 'double_exponential_rng',
  202. 'e',
  203. 'eigendecompose',
  204. 'eigendecompose_sym',
  205. 'eigenvalues',
  206. 'eigenvalues_sym',
  207. 'eigenvectors',
  208. 'eigenvectors_sym',
  209. 'erf',
  210. 'erfc',
  211. 'exp',
  212. 'exp2',
  213. 'exp_mod_normal_cdf',
  214. 'exp_mod_normal_lccdf',
  215. 'exp_mod_normal_lcdf',
  216. 'exp_mod_normal_lpdf',
  217. 'exp_mod_normal_lupdf',
  218. 'exp_mod_normal_rng',
  219. 'expm1',
  220. 'exponential_cdf',
  221. 'exponential_lccdf',
  222. 'exponential_lcdf',
  223. 'exponential_lpdf',
  224. 'exponential_lupdf',
  225. 'exponential_rng',
  226. 'falling_factorial',
  227. 'fdim',
  228. 'fft',
  229. 'fft2',
  230. 'floor',
  231. 'fma',
  232. 'fmax',
  233. 'fmin',
  234. 'fmod',
  235. 'frechet_cdf',
  236. 'frechet_lccdf',
  237. 'frechet_lcdf',
  238. 'frechet_lpdf',
  239. 'frechet_lupdf',
  240. 'frechet_rng',
  241. 'gamma_cdf',
  242. 'gamma_lccdf',
  243. 'gamma_lcdf',
  244. 'gamma_lpdf',
  245. 'gamma_lupdf',
  246. 'gamma_p',
  247. 'gamma_q',
  248. 'gamma_rng',
  249. 'gaussian_dlm_obs_lpdf',
  250. 'gaussian_dlm_obs_lupdf',
  251. 'generalized_inverse',
  252. 'get_imag',
  253. 'get_real',
  254. 'gp_dot_prod_cov',
  255. 'gp_exp_quad_cov',
  256. 'gp_exponential_cov',
  257. 'gp_matern23_cov',
  258. 'gp_matern52_cov',
  259. 'gp_periodic_cov',
  260. 'gumbel_cdf',
  261. 'gumbel_lccdf',
  262. 'gumbel_lcdf',
  263. 'gumbel_lpdf',
  264. 'gumbel_lupdf',
  265. 'gumbel_rng',
  266. 'head',
  267. 'hmm_hidden_state_prob',
  268. 'hmm_latent_rng',
  269. 'hmm_marginal',
  270. 'hypergeometric_1F0',
  271. 'hypergeometric_2F1',
  272. 'hypergeometric_3F2',
  273. 'hypergeometric_lpmf',
  274. 'hypergeometric_lupmf',
  275. 'hypergeometric_pFq',
  276. 'hypergeometric_rng',
  277. 'hypot',
  278. 'identity_matrix',
  279. 'inc_beta',
  280. 'int_step',
  281. 'integrate_1d',
  282. 'integrate_ode',
  283. 'integrate_ode_adams',
  284. 'integrate_ode_bdf',
  285. 'integrate_ode_rk45',
  286. 'inv',
  287. 'inv_Phi',
  288. 'inv_chi_square_cdf',
  289. 'inv_chi_square_lccdf',
  290. 'inv_chi_square_lcdf',
  291. 'inv_chi_square_lpdf',
  292. 'inv_chi_square_lupdf',
  293. 'inv_chi_square_rng',
  294. 'inv_cloglog',
  295. 'inv_erfc',
  296. 'inv_fft',
  297. 'inv_fft2',
  298. 'inv_gamma_cdf',
  299. 'inv_gamma_lccdf',
  300. 'inv_gamma_lcdf',
  301. 'inv_gamma_lpdf',
  302. 'inv_gamma_lupdf',
  303. 'inv_gamma_rng',
  304. 'inv_inc_beta',
  305. 'inv_logit',
  306. 'inv_sqrt',
  307. 'inv_square',
  308. 'inv_wishart_cholesky_lpdf',
  309. 'inv_wishart_cholesky_lupdf',
  310. 'inv_wishart_cholesky_rng',
  311. 'inv_wishart_lpdf',
  312. 'inv_wishart_lupdf',
  313. 'inv_wishart_rng',
  314. 'inverse',
  315. 'inverse_spd',
  316. 'is_inf',
  317. 'is_nan',
  318. 'lambert_w0',
  319. 'lambert_wm1',
  320. 'lbeta',
  321. 'lchoose',
  322. 'ldexp',
  323. 'lgamma',
  324. 'linspaced_array',
  325. 'linspaced_int_array',
  326. 'linspaced_row_vector',
  327. 'linspaced_vector',
  328. 'lkj_corr_cholesky_lpdf',
  329. 'lkj_corr_cholesky_lupdf',
  330. 'lkj_corr_cholesky_rng',
  331. 'lkj_corr_lpdf',
  332. 'lkj_corr_lupdf',
  333. 'lkj_corr_rng',
  334. 'lmgamma',
  335. 'lmultiply',
  336. 'log',
  337. 'log10',
  338. 'log1m',
  339. 'log1m_exp',
  340. 'log1m_inv_logit',
  341. 'log1p',
  342. 'log1p_exp',
  343. 'log2',
  344. 'log_determinant',
  345. 'log_diff_exp',
  346. 'log_falling_factorial',
  347. 'log_inv_logit',
  348. 'log_inv_logit_diff',
  349. 'log_mix',
  350. 'log_modified_bessel_first_kind',
  351. 'log_rising_factorial',
  352. 'log_softmax',
  353. 'log_sum_exp',
  354. 'logistic_cdf',
  355. 'logistic_lccdf',
  356. 'logistic_lcdf',
  357. 'logistic_lpdf',
  358. 'logistic_lupdf',
  359. 'logistic_rng',
  360. 'logit',
  361. 'loglogistic_cdf',
  362. 'loglogistic_lpdf',
  363. 'loglogistic_rng',
  364. 'lognormal_cdf',
  365. 'lognormal_lccdf',
  366. 'lognormal_lcdf',
  367. 'lognormal_lpdf',
  368. 'lognormal_lupdf',
  369. 'lognormal_rng',
  370. 'lower_bound_constrain',
  371. 'lower_bound_jacobian',
  372. 'lower_bound_unconstrain',
  373. 'lower_upper_bound_constrain',
  374. 'lower_upper_bound_jacobian',
  375. 'lower_upper_bound_unconstrain',
  376. 'machine_precision',
  377. 'map_rect',
  378. 'matrix_exp',
  379. 'matrix_exp_multiply',
  380. 'matrix_power',
  381. 'max',
  382. 'mdivide_left_spd',
  383. 'mdivide_left_tri_low',
  384. 'mdivide_right_spd',
  385. 'mdivide_right_tri_low',
  386. 'mean',
  387. 'min',
  388. 'modified_bessel_first_kind',
  389. 'modified_bessel_second_kind',
  390. 'multi_gp_cholesky_lpdf',
  391. 'multi_gp_cholesky_lupdf',
  392. 'multi_gp_lpdf',
  393. 'multi_gp_lupdf',
  394. 'multi_normal_cholesky_lpdf',
  395. 'multi_normal_cholesky_lupdf',
  396. 'multi_normal_cholesky_rng',
  397. 'multi_normal_lpdf',
  398. 'multi_normal_lupdf',
  399. 'multi_normal_prec_lpdf',
  400. 'multi_normal_prec_lupdf',
  401. 'multi_normal_rng',
  402. 'multi_student_cholesky_t_rng',
  403. 'multi_student_t_cholesky_lpdf',
  404. 'multi_student_t_cholesky_lupdf',
  405. 'multi_student_t_cholesky_rng',
  406. 'multi_student_t_lpdf',
  407. 'multi_student_t_lupdf',
  408. 'multi_student_t_rng',
  409. 'multinomial_logit_lpmf',
  410. 'multinomial_logit_lupmf',
  411. 'multinomial_logit_rng',
  412. 'multinomial_lpmf',
  413. 'multinomial_lupmf',
  414. 'multinomial_rng',
  415. 'multiply_lower_tri_self_transpose',
  416. 'neg_binomial_2_cdf',
  417. 'neg_binomial_2_lccdf',
  418. 'neg_binomial_2_lcdf',
  419. 'neg_binomial_2_log_glm_lpmf',
  420. 'neg_binomial_2_log_glm_lupmf',
  421. 'neg_binomial_2_log_lpmf',
  422. 'neg_binomial_2_log_lupmf',
  423. 'neg_binomial_2_log_rng',
  424. 'neg_binomial_2_lpmf',
  425. 'neg_binomial_2_lupmf',
  426. 'neg_binomial_2_rng',
  427. 'neg_binomial_cdf',
  428. 'neg_binomial_lccdf',
  429. 'neg_binomial_lcdf',
  430. 'neg_binomial_lpmf',
  431. 'neg_binomial_lupmf',
  432. 'neg_binomial_rng',
  433. 'negative_infinity',
  434. 'norm',
  435. 'norm1',
  436. 'norm2',
  437. 'normal_cdf',
  438. 'normal_id_glm_lpdf',
  439. 'normal_id_glm_lupdf',
  440. 'normal_lccdf',
  441. 'normal_lcdf',
  442. 'normal_lpdf',
  443. 'normal_lupdf',
  444. 'normal_rng',
  445. 'not_a_number',
  446. 'num_elements',
  447. 'ode_adams',
  448. 'ode_adams_tol',
  449. 'ode_adjoint_tol_ctl',
  450. 'ode_bdf',
  451. 'ode_bdf_tol',
  452. 'ode_ckrk',
  453. 'ode_ckrk_tol',
  454. 'ode_rk45',
  455. 'ode_rk45_tol',
  456. 'offset_multiplier_constrain',
  457. 'offset_multiplier_jacobian',
  458. 'offset_multiplier_unconstrain',
  459. 'one_hot_array',
  460. 'one_hot_int_array',
  461. 'one_hot_row_vector',
  462. 'one_hot_vector',
  463. 'ones_array',
  464. 'ones_int_array',
  465. 'ones_row_vector',
  466. 'ones_vector',
  467. 'ordered_constrain',
  468. 'ordered_jacobian',
  469. 'ordered_logistic_glm_lpmf',
  470. 'ordered_logistic_glm_lupmf',
  471. 'ordered_logistic_lpmf',
  472. 'ordered_logistic_lupmf',
  473. 'ordered_logistic_rng',
  474. 'ordered_probit_lpmf',
  475. 'ordered_probit_lupmf',
  476. 'ordered_probit_rng',
  477. 'ordered_unconstrain',
  478. 'owens_t',
  479. 'pareto_cdf',
  480. 'pareto_lccdf',
  481. 'pareto_lcdf',
  482. 'pareto_lpdf',
  483. 'pareto_lupdf',
  484. 'pareto_rng',
  485. 'pareto_type_2_cdf',
  486. 'pareto_type_2_lccdf',
  487. 'pareto_type_2_lcdf',
  488. 'pareto_type_2_lpdf',
  489. 'pareto_type_2_lupdf',
  490. 'pareto_type_2_rng',
  491. 'pi',
  492. 'poisson_cdf',
  493. 'poisson_lccdf',
  494. 'poisson_lcdf',
  495. 'poisson_log_glm_lpmf',
  496. 'poisson_log_glm_lupmf',
  497. 'poisson_log_lpmf',
  498. 'poisson_log_lupmf',
  499. 'poisson_log_rng',
  500. 'poisson_lpmf',
  501. 'poisson_lupmf',
  502. 'poisson_rng',
  503. 'polar',
  504. 'positive_infinity',
  505. 'positive_ordered_constrain',
  506. 'positive_ordered_jacobian',
  507. 'positive_ordered_unconstrain',
  508. 'pow',
  509. 'prod',
  510. 'proj',
  511. 'qr',
  512. 'qr_Q',
  513. 'qr_R',
  514. 'qr_thin',
  515. 'qr_thin_Q',
  516. 'qr_thin_R',
  517. 'quad_form',
  518. 'quad_form_diag',
  519. 'quad_form_sym',
  520. 'quantile',
  521. 'rank',
  522. 'rayleigh_cdf',
  523. 'rayleigh_lccdf',
  524. 'rayleigh_lcdf',
  525. 'rayleigh_lpdf',
  526. 'rayleigh_lupdf',
  527. 'rayleigh_rng',
  528. 'reduce_sum',
  529. 'rep_array',
  530. 'rep_matrix',
  531. 'rep_row_vector',
  532. 'rep_vector',
  533. 'reverse',
  534. 'rising_factorial',
  535. 'round',
  536. 'row',
  537. 'rows',
  538. 'rows_dot_product',
  539. 'rows_dot_self',
  540. 'scale_matrix_exp_multiply',
  541. 'scaled_inv_chi_square_cdf',
  542. 'scaled_inv_chi_square_lccdf',
  543. 'scaled_inv_chi_square_lcdf',
  544. 'scaled_inv_chi_square_lpdf',
  545. 'scaled_inv_chi_square_lupdf',
  546. 'scaled_inv_chi_square_rng',
  547. 'sd',
  548. 'segment',
  549. 'simplex_constrain',
  550. 'simplex_jacobian',
  551. 'simplex_unconstrain',
  552. 'sin',
  553. 'singular_values',
  554. 'sinh',
  555. 'size',
  556. 'skew_double_exponential_cdf',
  557. 'skew_double_exponential_lccdf',
  558. 'skew_double_exponential_lcdf',
  559. 'skew_double_exponential_lpdf',
  560. 'skew_double_exponential_lupdf',
  561. 'skew_double_exponential_rng',
  562. 'skew_normal_cdf',
  563. 'skew_normal_lccdf',
  564. 'skew_normal_lcdf',
  565. 'skew_normal_lpdf',
  566. 'skew_normal_lupdf',
  567. 'skew_normal_rng',
  568. 'softmax',
  569. 'solve_newton',
  570. 'solve_newton_tol',
  571. 'solve_powell',
  572. 'solve_powell_tol',
  573. 'sort_asc',
  574. 'sort_desc',
  575. 'sort_indices_asc',
  576. 'sort_indices_desc',
  577. 'sqrt',
  578. 'sqrt2',
  579. 'square',
  580. 'squared_distance',
  581. 'std_normal_cdf',
  582. 'std_normal_lccdf',
  583. 'std_normal_lcdf',
  584. 'std_normal_log_qf',
  585. 'std_normal_lpdf',
  586. 'std_normal_lupdf',
  587. 'std_normal_qf',
  588. 'std_normal_rng',
  589. 'step',
  590. 'stochastic_column_constrain',
  591. 'stochastic_column_jacobian',
  592. 'stochastic_column_unconstrain',
  593. 'stochastic_row_constrain',
  594. 'stochastic_row_jacobian',
  595. 'stochastic_row_unconstrain',
  596. 'student_t_cdf',
  597. 'student_t_lccdf',
  598. 'student_t_lcdf',
  599. 'student_t_lpdf',
  600. 'student_t_lupdf',
  601. 'student_t_rng',
  602. 'sub_col',
  603. 'sub_row',
  604. 'sum',
  605. 'sum_to_zero_constrain',
  606. 'sum_to_zero_jacobian',
  607. 'sum_to_zero_unconstrain',
  608. 'svd',
  609. 'svd_U',
  610. 'svd_V',
  611. 'symmetrize_from_lower_tri',
  612. 'tail',
  613. 'tan',
  614. 'tanh',
  615. 'target',
  616. 'tcrossprod',
  617. 'tgamma',
  618. 'to_array_1d',
  619. 'to_array_2d',
  620. 'to_complex',
  621. 'to_int',
  622. 'to_matrix',
  623. 'to_row_vector',
  624. 'to_vector',
  625. 'trace',
  626. 'trace_gen_quad_form',
  627. 'trace_quad_form',
  628. 'trigamma',
  629. 'trunc',
  630. 'uniform_cdf',
  631. 'uniform_lccdf',
  632. 'uniform_lcdf',
  633. 'uniform_lpdf',
  634. 'uniform_lupdf',
  635. 'uniform_rng',
  636. 'uniform_simplex',
  637. 'unit_vectors_constrain',
  638. 'unit_vectors_jacobian',
  639. 'unit_vectors_unconstrain',
  640. 'upper_bound_constrain',
  641. 'upper_bound_jacobian',
  642. 'upper_bound_unconstrain',
  643. 'variance',
  644. 'von_mises_cdf',
  645. 'von_mises_lccdf',
  646. 'von_mises_lcdf',
  647. 'von_mises_lpdf',
  648. 'von_mises_lupdf',
  649. 'von_mises_rng',
  650. 'weibull_cdf',
  651. 'weibull_lccdf',
  652. 'weibull_lcdf',
  653. 'weibull_lpdf',
  654. 'weibull_lupdf',
  655. 'weibull_rng',
  656. 'wiener_lpdf',
  657. 'wiener_lupdf',
  658. 'wishart_cholesky_lpdf',
  659. 'wishart_cholesky_lupdf',
  660. 'wishart_cholesky_rng',
  661. 'wishart_lpdf',
  662. 'wishart_lupdf',
  663. 'wishart_rng',
  664. 'zeros_array',
  665. 'zeros_int_array',
  666. 'zeros_row_vector',
  667. 'zeros_vector'
  668. )
  669. DISTRIBUTIONS = (
  670. 'bernoulli',
  671. 'bernoulli_logit',
  672. 'bernoulli_logit_glm',
  673. 'beta',
  674. 'beta_binomial',
  675. 'beta_neg_binomial',
  676. 'binomial',
  677. 'binomial_logit',
  678. 'binomial_logit_glm',
  679. 'categorical',
  680. 'categorical_logit',
  681. 'categorical_logit_glm',
  682. 'cauchy',
  683. 'chi_square',
  684. 'dirichlet',
  685. 'dirichlet_multinomial',
  686. 'discrete_range',
  687. 'double_exponential',
  688. 'exp_mod_normal',
  689. 'exponential',
  690. 'frechet',
  691. 'gamma',
  692. 'gaussian_dlm_obs',
  693. 'gumbel',
  694. 'hypergeometric',
  695. 'inv_chi_square',
  696. 'inv_gamma',
  697. 'inv_wishart',
  698. 'inv_wishart_cholesky',
  699. 'lkj_corr',
  700. 'lkj_corr_cholesky',
  701. 'logistic',
  702. 'loglogistic',
  703. 'lognormal',
  704. 'multi_gp',
  705. 'multi_gp_cholesky',
  706. 'multi_normal',
  707. 'multi_normal_cholesky',
  708. 'multi_normal_prec',
  709. 'multi_student_t',
  710. 'multi_student_t_cholesky',
  711. 'multinomial',
  712. 'multinomial_logit',
  713. 'neg_binomial',
  714. 'neg_binomial_2',
  715. 'neg_binomial_2_log',
  716. 'neg_binomial_2_log_glm',
  717. 'normal',
  718. 'normal_id_glm',
  719. 'ordered_logistic',
  720. 'ordered_logistic_glm',
  721. 'ordered_probit',
  722. 'pareto',
  723. 'pareto_type_2',
  724. 'poisson',
  725. 'poisson_log',
  726. 'poisson_log_glm',
  727. 'rayleigh',
  728. 'scaled_inv_chi_square',
  729. 'skew_double_exponential',
  730. 'skew_normal',
  731. 'std_normal',
  732. 'student_t',
  733. 'uniform',
  734. 'von_mises',
  735. 'weibull',
  736. 'wiener',
  737. 'wishart',
  738. 'wishart_cholesky'
  739. )
  740. RESERVED = (
  741. 'repeat',
  742. 'until',
  743. 'then',
  744. 'true',
  745. 'false',
  746. 'var',
  747. 'struct',
  748. 'typedef',
  749. 'export',
  750. 'auto',
  751. 'extern',
  752. 'var',
  753. 'static',
  754. )