1 #ifndef STAN_MATH_PRIM_SCAL_PROB_BERNOULLI_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_BERNOULLI_LOG_HPP 13 template <
bool propto,
typename T_n,
typename T_prob>
15 const T_prob& theta) {
16 return bernoulli_lpmf<propto, T_n, T_prob>(n, theta);
22 template <
typename T_y,
typename T_prob>
24 const T_prob& theta) {
25 return bernoulli_lpmf<T_y, T_prob>(n, theta);
boost::math::tools::promote_args< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type
return_type< T_prob >::type bernoulli_log(const T_n &n, const T_prob &theta)