Automatic Differentiation
 
Loading...
Searching...
No Matches
poisson_binomial_log_probs.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_theta , typename T_scalar = scalar_type_t<T_theta>, require_eigen_vector_t< T_theta > * = nullptr>
plain_type_t< T_theta > stan::math::poisson_binomial_log_probs (int y, const T_theta &theta)
 Returns the last row of the log probability matrix of the Poisson-Binomial distribution given the number of successes and a vector of success probabilities.
 
template<typename T_y , typename T_theta , require_vt_integral< T_y > * = nullptr>
auto stan::math::poisson_binomial_log_probs (const T_y &y, const T_theta &theta)