1 #ifndef STAN_MATH_PRIM_SCAL_PROB_BINOMIAL_LOG_HPP 2 #define STAN_MATH_PRIM_SCAL_PROB_BINOMIAL_LOG_HPP 13 template <
bool propto,
20 const T_prob& theta) {
21 return binomial_lpmf<propto, T_n, T_N, T_prob>(n, N, theta);
27 template <
typename T_n,
34 const T_prob& theta) {
35 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< typename scalar_type< T1 >::type, typename scalar_type< T2 >::type, typename scalar_type< T3 >::type, typename scalar_type< T4 >::type, typename scalar_type< T5 >::type, typename scalar_type< T6 >::type >::type type