hljs.registerLanguage("stan",function(){"use strict";returnfunction(_){return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:_.IDENT_RE,title:"functions model data parameters quantities transformed generated",keyword:["for","in","if","else","while","break","continue","return"].concat(["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"]).concat(["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"]).join(" "),built_in:"PhiPhi_approxabsacosacoshalgebra_solverappend_arrayappend_colappend_rowasinasinhatanatan2atanhbernoulli_cdfbernoulli_lccdfbernoulli_lcdfbernoulli_logit_lpmfbernoulli_logit_rngbernoulli_lpmfbernoulli_rngbessel_first_kindbessel_second_kindbeta_binomial_cdfbeta_binomial_lccdfbeta_binomial_lcdfbeta_binomial_lpmfbeta_binomial_rngbeta_cdfbeta_lccdfbeta_lcdfbeta_lpdfbeta_rngbinary_log_lossbinomial_cdfbinomial_coefficient_logbinomial_lccdfbinomial_lcdfbinomial_logit_lpmfbinomial_lpmfbinomial_rngblockcategorical_logit_lpmfcategorical_logit_rngcategorical_lpmfcategorical_rngcauchy_cdfcauchy_lccdfcauchy_lcdfcauchy_lpdfcauchy_rngcbrtceilchi_square_cdfchi_square_lccdfchi_square_lcdfchi_square_lpdfchi_square_rngcholesky_decomposechoosecolcolscolumns_dot_productcolumns_dot_selfcoscoshcov_exp_quadcrossprodcsr_extract_ucsr_extract_vcsr_extract_wcsr_matrix_times_vectorcsr_to_dense_matrixcumulative_sumdeterminantdiag_matrixdiag_post_multiplydiag_pre_multiplydiagonaldigammadimsdirichlet_lpdfdirichlet_rngdistancedot_productdot_selfdouble_exponential_cdfdouble_exponential_lccdfdouble_exponential_lcdfdouble_exponential_lpdfdouble_exponential_rngeeigenvalues_symeigenvectors_symerferfcexpexp2exp_mod_normal_cdfexp_mod_normal_lccdfexp_mod_normal_lcdfexp_mod_normal_lpdfexp_mod_normal_rngexpm1exponential_cdfexponential_lccdfexponential_lcdfexponential_lpdfexponential_rngfabsfalling_factorialfdimfloorfmafmaxfminfmodfrechet_cdffrechet_lccdffrechet_lcdffrechet_lpdffrechet_rnggamma_cdfgamma_lccdfgamma_lcdfgamma_lpdfgamma_pgamma_qgamma_rnggaussian_dlm_obs_lpdfget_lpgumbel_cdfgumbel_lccdfgumbel_lcdfgumbel_lpdfgumbel_rngheadhypergeometric_lpmfhypergeometric_rnghypotinc_betaint_stepintegrate_odeintegrate_ode_bdfintegrate_ode_rk45invinv_Phiinv_chi_square_cdfinv_chi_square_lccdfinv_chi_square_lcdfinv_chi_square_lpdfinv_chi_square_rnginv_clogloginv_gamma_cdfinv_gamma_lccdfinv_gamma_lcdfinv_gamma_lpdfinv_gamma_rnginv_logitinv_sqrtinv_squareinv_wishart_lpdfinv_wishart_rnginverseinverse_spdis_infis_nanlbetalchooselgammalkj_corr_cholesky_lpdflkj_corr_cholesky_rnglkj_corr_lpdflkj_corr_rnglmgammalmultiplyloglog10log1mlog1m_explog1m_inv_logitlog1plog1p_explog2log_determinantlog_diff_explog_falling_factoriallog_inv_logitlog_mixlog_rising_factoriallog_softmaxlog_sum_explogistic_cdflogistic_lccdflogistic_lcdflogistic_lpdflogistic_rnglogitlognormal_cdflognormal_lccdflognormal_lcdflognormal_lpdflognormal_rngmachine_precisionmatrix_expmaxmdivide_left_spdmdivide_left_tri_lowmdivide_right_spdmdivide_right_tri_lowmeanminmodified_bessel_first_kindmodified_bessel_second_kindmulti_gp_cholesky_lpdfmulti_gp_lpdfmulti_normal_cholesky_lpdfmulti_normal_cholesky_rngmulti_normal_lpdfmulti_normal_prec_lpdfmulti_normal_rngmulti_student_t_lpdfmulti_student_t_rngmultinomial_lpmfmultinomial_rngmultiply_logmultiply_lower_tri_self_transposeneg_binomial_2_cdfneg_binomial_2_lccdfneg_binomial_2_lcdfneg_binomial_2_log_lpmfneg_binomial_2_log_rngneg_binomial_2_lpmfneg_binomial_2_rngneg_binomial_cdfneg_binomial_lccdfneg_binomial_lcdfneg_binomial_lpmfneg_binomial_rngnegative_infinitynormal_cdfnormal_lccdfnormal_lcdfnormal_lpdfnormal_rngnot_a_numbernum_elementsordered_logistic_lpmfordered_logistic_rngowens_tpareto_cdfpareto_lccdf