1 #ifndef STAN_MATH_PRIM_SCAL_PROB_BINOMIAL_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_BINOMIAL_LOG_HPP 13 template <
bool propto,
typename T_n,
typename T_N,
typename T_prob>
15 const T_prob& theta) {
16 return binomial_lpmf<propto, T_n, T_N, T_prob>(n, N, theta);
22 template <
typename T_n,
typename T_N,
typename T_prob>
25 const T_prob& theta) {
26 return binomial_lpmf<T_n, T_N, T_prob>(n, N, theta);
return_type< T_prob >::type binomial_log(const T_n &n, const T_N &N, const T_prob &theta)
boost::math::tools::promote_args< double, typename scalar_type< T >::type, typename return_type< Types_pack... >::type >::type type