Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ poisson_binomial_log_probs() [1/2]

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 Parameters
T_thetatemplate expression
Parameters
ynumbers of successes
thetaN-dimensional vector of success probabilities for each trial
Returns
the last row of the computed log probability matrix

Definition at line 26 of file poisson_binomial_log_probs.hpp.