1#ifndef STAN_MATH_MIX_PROB_LAPLACE_LATENT_RNG_HPP
2#define STAN_MATH_MIX_PROB_LAPLACE_LATENT_RNG_HPP
32template <
typename LLFunc,
typename LLArgs,
typename CovarFun,
33 typename CovarArgs,
typename OpsTuple,
typename RNG>
35 CovarFun&& covariance_function,
36 CovarArgs&& covar_args, OpsTuple&& ops,
37 RNG& rng, std::ostream* msgs) {
39 std::forward<LLFunc>(L_f), std::forward<LLArgs>(ll_args),
40 std::forward<CovarFun>(covariance_function),
41 std::forward<CovarArgs>(covar_args),
64template <
typename LLFunc,
typename LLArgs,
typename CovarFun,
65 typename CovarArgs,
typename RNG>
67 CovarFun&& covariance_function,
68 CovarArgs&& covar_args, RNG& rng,
71 std::forward<LLArgs>(ll_args),
72 std::forward<CovarFun>(covariance_function),
73 std::forward<CovarArgs>(covar_args),
constexpr auto tuple_to_laplace_options(Options &&ops)
Eigen::VectorXd laplace_base_rng(LLFunc &&ll_fun, LLArgs &&ll_args, CovarFun &&covariance_function, CovarArgs &&covar_args, const laplace_options< InitTheta > &options, RNG &rng, std::ostream *msgs)
In a latent gaussian model,.
auto laplace_latent_tol_rng(LLFunc &&L_f, LLArgs &&ll_args, CovarFun &&covariance_function, CovarArgs &&covar_args, OpsTuple &&ops, RNG &rng, std::ostream *msgs)
In a latent gaussian model,.
auto laplace_latent_rng(LLFunc &&L_f, LLArgs &&ll_args, CovarFun &&covariance_function, CovarArgs &&covar_args, RNG &rng, std::ostream *msgs)
In a latent gaussian model,.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...