Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/digamma.hpp>
#include <stan/math/prim/fun/is_any_nan.hpp>
#include <stan/math/prim/fun/log1p.hpp>
#include <stan/math/prim/fun/lbeta.hpp>
#include <stan/math/prim/fun/lgamma.hpp>
#include <stan/math/prim/fun/value_of.hpp>
#include <stan/math/prim/functor/partials_propagator.hpp>
#include <stan/math/prim/functor/apply_scalar_binary.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_n , typename T_k , require_all_stan_scalar_t< T_n, T_k > * = nullptr> | |
return_type_t< T_n, T_k > | stan::math::binomial_coefficient_log (const T_n n, const T_k k) |
Return the log of the binomial coefficient for the specified arguments. | |
template<typename T1 , typename T2 , require_any_container_t< T1, T2 > * = nullptr> | |
auto | stan::math::binomial_coefficient_log (const T1 &a, const T2 &b) |
Enables the vectorized application of the binomial coefficient log function, when the first and/or second arguments are containers. | |