summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/lstbayes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-27 20:38:13 +0000
committerKarl Berry <karl@freefriends.org>2016-06-27 20:38:13 +0000
commite747f7b4250571d8894112eb0d47e37ae61928c9 (patch)
tree910dd7259438ea1ca183b00e3cc7cc611c9d5763 /Master/texmf-dist/source/latex/lstbayes
parentb87a85274cfe6465d3a6c6dce560c8134f63b57c (diff)
lstbayes (27jun16)
git-svn-id: svn://tug.org/texlive/trunk@41550 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/lstbayes')
-rw-r--r--Master/texmf-dist/source/latex/lstbayes/lstbayes.dtx232
1 files changed, 171 insertions, 61 deletions
diff --git a/Master/texmf-dist/source/latex/lstbayes/lstbayes.dtx b/Master/texmf-dist/source/latex/lstbayes/lstbayes.dtx
index e4f3cca9268..5b09eed74d7 100644
--- a/Master/texmf-dist/source/latex/lstbayes/lstbayes.dtx
+++ b/Master/texmf-dist/source/latex/lstbayes/lstbayes.dtx
@@ -26,7 +26,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lstbayes}
%<*package>
- [2015/12/22 lstbayes listings language drivers for BUGS, JAGS, and Stan]
+ [2016/06/26 lstbayes listings language drivers for BUGS, JAGS, and Stan]
%</package>
%
%<*driver>
@@ -98,12 +98,12 @@
% \begin{macrocode}
\RequirePackage{listings}
% \end{macrocode}
-%
+%
% \subsection{BUGS}
%
% Language driver for BUGS, including \href{http://www.openbugs.net/w/FrontPage}{WinBUGS} and \href{http://openbugs.net}{OpenBUGS}.
% The driver is based on \href{http://www.openbugs.net/Manuals/Manual.html}{OpenBUGS v. 3.2.3}.
-%
+%
% \begin{macrocode}
\lstdefinelanguage{BUGS}{
morekeywords=[1]{for,in,model,T,I,C},%
@@ -117,7 +117,7 @@
\lstalias[]{WinBUGS}[]{BUGS}
% \end{macrocode}
%
-% \subsection{JAGS}
+% \subsection{JAGS}
%
% Language driver for \href{http://mcmc-jags.sourceforge.net/}{JAGS}.
% The driver is based on JAGS version 3.4.0 (Sept 4, 2013).
@@ -129,17 +129,17 @@
morecomment=[n]{/*}{*/}%
}
% \end{macrocode}
-%
+%
% \subsection{Stan}
%
% Language driver for \href{http://mc-stan.org/}{Stan}.
-% The driver is based on Stan modeling language version \href{https://github.com/stan-dev/stan/releases/download/v2.9.0/stan-reference-2.9.0.pdf}{2.9.0}.
-%
+% The driver is based on Stan modeling language version \href{https://github.com/stan-dev/stan/releases/download/v2.10.0/stan-reference-2.10.0.pdf}{2.10.0}.
+%
% \begin{macrocode}
\lstdefinelanguage{Stan}{
morekeywords=[1]{functions,data,parameters,transformed,model,generated,quantities,%
- for,in,while,print,if,else,lp__,lower,upper,increment_log_prob,T,return,%
- reject,integrate_ode},%
+ for,in,while,print,if,else,lower,upper,increment_log_prob,T,return,%
+ reject,integrate_ode,integrate_ode_bdf,integrate_ode_rk45,target},%
morekeywords=[2]{int,real,vector,%
ordered,positive_ordered,simplex,unit_vector,%
row_vector,matrix,%
@@ -159,57 +159,79 @@
atan,%
atan2,%
atanh,%
- bernoulli,%
bernoulli_ccdf_log,%
bernoulli_cdf,%
bernoulli_cdf_log,%
+ bernoulli_lccdf,%
+ bernoulli_lcdf,%
bernoulli_log,%
- bernoulli_logit,%
bernoulli_logit_log,%
+ bernoulli_logit_lpmf,%
+ bernoulli_logit_lpmf,%
+ bernoulli_lpmf,%
+ bernoulli_lpmf,%
bernoulli_rng,%
bessel_first_kind,%
bessel_second_kind,%
- beta,%
- beta_binomial,%
beta_binomial_ccdf_log,%
beta_binomial_cdf,%
beta_binomial_cdf_log,%
+ beta_binomial_lccdf,%
+ beta_binomial_lcdf,%
beta_binomial_log,%
+ beta_binomial_lpmf,%
+ beta_binomial_lpmf,%
beta_binomial_rng,%
beta_ccdf_log,%
beta_cdf,%
beta_cdf_log,%
+ beta_lccdf,%
+ beta_lcdf,%
beta_log,%
+ beta_lpdf,%
+ beta_lpdf,%
beta_rng,%
binary_log_loss,%
- binomial,%
binomial_ccdf_log,%
binomial_cdf,%
binomial_cdf_log,%
binomial_coefficient_log,%
+ binomial_lccdf,%
+ binomial_lcdf,%
binomial_log,%
- binomial_logit,%
binomial_logit_log,%
+ binomial_logit_lpmf,%
+ binomial_logit_lpmf,%
+ binomial_lpmf,%
+ binomial_lpmf,%
binomial_rng,%
block,%
- categorical,%
categorical_log,%
- categorical_logit,%
categorical_logit_log,%
+ categorical_logit_lpmf,%
+ categorical_logit_lpmf,%
+ categorical_lpmf,%
+ categorical_lpmf,%
categorical_rng,%
- cauchy,%
cauchy_ccdf_log,%
cauchy_cdf,%
cauchy_cdf_log,%
+ cauchy_lccdf,%
+ cauchy_lcdf,%
cauchy_log,%
+ cauchy_lpdf,%
+ cauchy_lpdf,%
cauchy_rng,%
cbrt,%
ceil,%
- chi_square,%
chi_square_ccdf_log,%
chi_square_cdf,%
chi_square_cdf_log,%
+ chi_square_lccdf,%
+ chi_square_lcdf,%
chi_square_log,%
+ chi_square_lpdf,%
+ chi_square_lpdf,%
chi_square_rng,%
cholesky_decompose,%
col,%
@@ -232,17 +254,21 @@
diagonal,%
digamma,%
dims,%
- dirichlet,%
dirichlet_log,%
+ dirichlet_lpdf,%
+ dirichlet_lpdf,%
dirichlet_rng,%
distance,%
dot_product,%
dot_self,%
- double_exponential,%
double_exponential_ccdf_log,%
double_exponential_cdf,%
double_exponential_cdf_log,%
+ double_exponential_lccdf,%
+ double_exponential_lcdf,%
double_exponential_log,%
+ double_exponential_lpdf,%
+ double_exponential_lpdf,%
double_exponential_rng,%
e,%
eigenvalues_sym,%
@@ -251,18 +277,24 @@
erfc,%
exp,%
exp2,%
- exp_mod_normal,%
exp_mod_normal_ccdf_log,%
exp_mod_normal_cdf,%
exp_mod_normal_cdf_log,%
+ exp_mod_normal_lccdf,%
+ exp_mod_normal_lcdf,%
exp_mod_normal_log,%
+ exp_mod_normal_lpdf,%
+ exp_mod_normal_lpdf,%
exp_mod_normal_rng,%
expm1,%
- exponential,%
exponential_ccdf_log,%
exponential_cdf,%
exponential_cdf_log,%
+ exponential_lccdf,%
+ exponential_lcdf,%
exponential_log,%
+ exponential_lpdf,%
+ exponential_lpdf,%
exponential_rng,%
fabs,%
falling_factorial,%
@@ -272,70 +304,93 @@
fmax,%
fmin,%
fmod,%
- frechet,%
frechet_ccdf_log,%
frechet_cdf,%
frechet_cdf_log,%
+ frechet_lccdf,%
+ frechet_lcdf,%
frechet_log,%
+ frechet_lpdf,%
+ frechet_lpdf,%
frechet_rng,%
- gamma,%
gamma_ccdf_log,%
gamma_cdf,%
gamma_cdf_log,%
+ gamma_lccdf,%
+ gamma_lcdf,%
gamma_log,%
+ gamma_lpdf,%
+ gamma_lpdf,%
gamma_p,%
gamma_q,%
gamma_rng,%
- gaussian_dlm_obs,%
gaussian_dlm_obs_log,%
+ gaussian_dlm_obs_lpdf,%
+ gaussian_dlm_obs_lpdf,%
get_lp,%
- gumbel,%
gumbel_ccdf_log,%
gumbel_cdf,%
gumbel_cdf_log,%
+ gumbel_lccdf,%
+ gumbel_lcdf,%
gumbel_log,%
+ gumbel_lpdf,%
+ gumbel_lpdf,%
gumbel_rng,%
head,%
- hypergeometric,%
hypergeometric_log,%
+ hypergeometric_lpmf,%
+ hypergeometric_lpmf,%
hypergeometric_rng,%
hypot,%
if_else,%
+ inc_beta,%
int_step,%
inv,%
- inv_chi_square,%
inv_chi_square_ccdf_log,%
inv_chi_square_cdf,%
inv_chi_square_cdf_log,%
+ inv_chi_square_lccdf,%
+ inv_chi_square_lcdf,%
inv_chi_square_log,%
+ inv_chi_square_lpdf,%
+ inv_chi_square_lpdf,%
inv_chi_square_rng,%
inv_cloglog,%
- inv_gamma,%
inv_gamma_ccdf_log,%
inv_gamma_cdf,%
inv_gamma_cdf_log,%
+ inv_gamma_lccdf,%
+ inv_gamma_lcdf,%
inv_gamma_log,%
+ inv_gamma_lpdf,%
+ inv_gamma_lpdf,%
inv_gamma_rng,%
inv_logit,%
inv_phi,%
inv_sqrt,%
inv_square,%
- inv_wishart,%
inv_wishart_log,%
+ inv_wishart_lpdf,%
+ inv_wishart_lpdf,%
inv_wishart_rng,%
inverse,%
inverse_spd,%
is_inf,%
is_nan,%
lbeta,%
+ lchoose,%
lgamma,%
- lkj_corr,%
- lkj_corr_cholesky,%
lkj_corr_cholesky_log,%
+ lkj_corr_cholesky_lpdf,%
+ lkj_corr_cholesky_lpdf,%
lkj_corr_cholesky_rng,%
lkj_corr_log,%
+ lkj_corr_lpdf,%
+ lkj_corr_lpdf,%
lkj_corr_rng,%
lmgamma,%
+ lmultiply,%
log,%
log10,%
log1m,%
@@ -352,18 +407,24 @@
log_rising_factorial,%
log_softmax,%
log_sum_exp,%
- logistic,%
logistic_ccdf_log,%
logistic_cdf,%
logistic_cdf_log,%
+ logistic_lccdf,%
+ logistic_lcdf,%
logistic_log,%
+ logistic_lpdf,%
+ logistic_lpdf,%
logistic_rng,%
logit,%
- lognormal,%
lognormal_ccdf_log,%
lognormal_cdf,%
lognormal_cdf_log,%
+ lognormal_lccdf,%
+ lognormal_lcdf,%
lognormal_log,%
+ lognormal_lpdf,%
+ lognormal_lpdf,%
lognormal_rng,%
machine_precision,%
max,%
@@ -373,75 +434,103 @@
min,%
modified_bessel_first_kind,%
modified_bessel_second_kind,%
- multi_gp,%
- multi_gp_cholesky,%
multi_gp_cholesky_log,%
+ multi_gp_cholesky_lpdf,%
+ multi_gp_cholesky_lpdf,%
multi_gp_log,%
- multi_normal,%
- multi_normal_cholesky,%
+ multi_gp_lpdf,%
+ multi_gp_lpdf,%
multi_normal_cholesky_log,%
+ multi_normal_cholesky_lpdf,%
+ multi_normal_cholesky_lpdf,%
multi_normal_cholesky_rng,%
multi_normal_log,%
- multi_normal_prec,%
+ multi_normal_lpdf,%
+ multi_normal_lpdf,%
multi_normal_prec_log,%
+ multi_normal_prec_lpdf,%
+ multi_normal_prec_lpdf,%
multi_normal_rng,%
- multi_student_t,%
multi_student_t_log,%
+ multi_student_t_lpdf,%
+ multi_student_t_lpdf,%
multi_student_t_rng,%
- multinomial,%
multinomial_log,%
+ multinomial_lpmf,%
+ multinomial_lpmf,%
multinomial_rng,%
multiply_log,%
multiply_lower_tri_self_transpose,%
- neg_binomial,%
- neg_binomial_2,%
neg_binomial_2_ccdf_log,%
neg_binomial_2_cdf,%
neg_binomial_2_cdf_log,%
- neg_binomial_2_log,%
+ neg_binomial_2_lccdf,%
+ neg_binomial_2_lcdf,%
neg_binomial_2_log,%
neg_binomial_2_log_log,%
+ neg_binomial_2_log_lpmf,%
+ neg_binomial_2_log_lpmf,%
neg_binomial_2_log_rng,%
+ neg_binomial_2_lpmf,%
+ neg_binomial_2_lpmf,%
neg_binomial_2_rng,%
neg_binomial_ccdf_log,%
neg_binomial_cdf,%
neg_binomial_cdf_log,%
+ neg_binomial_lccdf,%
+ neg_binomial_lcdf,%
neg_binomial_log,%
+ neg_binomial_lpmf,%
+ neg_binomial_lpmf,%
neg_binomial_rng,%
negative_infinity,%
- normal,%
normal_ccdf_log,%
normal_cdf,%
normal_cdf_log,%
+ normal_lccdf,%
+ normal_lcdf,%
normal_log,%
+ normal_lpdf,%
+ normal_lpdf,%
normal_rng,%
not_a_number,%
num_elements,%
- ordered_logistic,%
ordered_logistic_log,%
+ ordered_logistic_lpmf,%
+ ordered_logistic_lpmf,%
ordered_logistic_rng,%
owens_t,%
- pareto,%
pareto_ccdf_log,%
pareto_cdf,%
pareto_cdf_log,%
+ pareto_lccdf,%
+ pareto_lcdf,%
pareto_log,%
+ pareto_lpdf,%
+ pareto_lpdf,%
pareto_rng,%
- pareto_type_2,%
pareto_type_2_ccdf_log,%
pareto_type_2_cdf,%
pareto_type_2_cdf_log,%
+ pareto_type_2_lccdf,%
+ pareto_type_2_lcdf,%
pareto_type_2_log,%
+ pareto_type_2_lpdf,%
+ pareto_type_2_lpdf,%
pareto_type_2_rng,%
pi,%
- poisson,%
poisson_ccdf_log,%
poisson_cdf,%
poisson_cdf_log,%
- poisson_log,%
+ poisson_lccdf,%
+ poisson_lcdf,%
poisson_log,%
poisson_log_log,%
+ poisson_log_lpmf,%
+ poisson_log_lpmf,%
poisson_log_rng,%
+ poisson_lpmf,%
+ poisson_lpmf,%
poisson_rng,%
positive_infinity,%
pow,%
@@ -452,11 +541,14 @@
quad_form_diag,%
quad_form_sym,%
rank,%
- rayleigh,%
rayleigh_ccdf_log,%
rayleigh_cdf,%
rayleigh_cdf_log,%
+ rayleigh_lccdf,%
+ rayleigh_lcdf,%
rayleigh_log,%
+ rayleigh_lpdf,%
+ rayleigh_lpdf,%
rayleigh_rng,%
rep_array,%
rep_matrix,%
@@ -468,11 +560,14 @@
rows,%
rows_dot_product,%
rows_dot_self,%
- scaled_inv_chi_square,%
scaled_inv_chi_square_ccdf_log,%
scaled_inv_chi_square_cdf,%
scaled_inv_chi_square_cdf_log,%
+ scaled_inv_chi_square_lccdf,%
+ scaled_inv_chi_square_lcdf,%
scaled_inv_chi_square_log,%
+ scaled_inv_chi_square_lpdf,%
+ scaled_inv_chi_square_lpdf,%
scaled_inv_chi_square_rng,%
sd,%
segment,%
@@ -480,11 +575,14 @@
singular_values,%
sinh,%
size,%
- skew_normal,%
skew_normal_ccdf_log,%
skew_normal_cdf,%
skew_normal_cdf_log,%
+ skew_normal_lccdf,%
+ skew_normal_lcdf,%
skew_normal_log,%
+ skew_normal_lpdf,%
+ skew_normal_lpdf,%
skew_normal_rng,%
softmax,%
sort_asc,%
@@ -496,11 +594,14 @@
square,%
squared_distance,%
step,%
- student_t,%
student_t_ccdf_log,%
student_t_cdf,%
student_t_cdf_log,%
+ student_t_lccdf,%
+ student_t_lcdf,%
student_t_log,%
+ student_t_lpdf,%
+ student_t_lpdf,%
student_t_rng,%
sub_col,%
sub_row,%
@@ -520,29 +621,38 @@
trace_quad_form,%
trigamma,%
trunc,%
- uniform,%
uniform_ccdf_log,%
uniform_cdf,%
uniform_cdf_log,%
+ uniform_lccdf,%
+ uniform_lcdf,%
uniform_log,%
+ uniform_lpdf,%
+ uniform_lpdf,%
uniform_rng,%
variance,%
- von_mises,%
von_mises_log,%
+ von_mises_lpdf,%
+ von_mises_lpdf,%
von_mises_rng,%
- weibull,%
weibull_ccdf_log,%
weibull_cdf,%
weibull_cdf_log,%
+ weibull_lccdf,%
+ weibull_lcdf,%
weibull_log,%
+ weibull_lpdf,%
+ weibull_lpdf,%
weibull_rng,%
- wiener,%
wiener_log,%
- wishart,%
+ wiener_lpdf,%
+ wiener_lpdf,%
wishart_log,%
+ wishart_lpdf,%
+ wishart_lpdf,%
wishart_rng
},%
- otherkeywords={<-,~},%
+ otherkeywords={<-,~,+=,=},%
sensitive=true,%
morecomment=[l]{\#},%
morecomment=[l]{//},%