![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/fun/log.hpp>#include <stan/math/prim/fun/log1m.hpp>#include <stan/math/prim/fun/log_sum_exp.hpp>#include <stan/math/prim/fun/log_mix.hpp>#include <stan/math/prim/fun/max_size.hpp>#include <stan/math/prim/fun/vector_seq_view.hpp>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_vector_t< T_theta > * = nullptr> | |
| Eigen::Matrix< T_scalar, -1, 1 > | 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) |