![]() |
Stan Math Library
5.2.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/exp.hpp>#include <stan/math/prim/fun/fma.hpp>#include <stan/math/prim/fun/gamma_p.hpp>#include <stan/math/prim/fun/grad_reg_inc_gamma.hpp>#include <stan/math/prim/fun/grad_reg_lower_inc_gamma.hpp>#include <stan/math/prim/fun/lgamma.hpp>#include <stan/math/prim/fun/log.hpp>#include <stan/math/prim/fun/log1m.hpp>#include <stan/math/prim/fun/max_size.hpp>#include <stan/math/prim/fun/scalar_seq_view.hpp>#include <stan/math/prim/fun/size.hpp>#include <stan/math/prim/fun/size_zero.hpp>#include <stan/math/prim/fun/tgamma.hpp>#include <stan/math/prim/fun/value_of_rec.hpp>#include <stan/math/prim/fun/log_gamma_q_dgamma.hpp>#include <stan/math/prim/functor/partials_propagator.hpp>#include <cmath>#include <optional>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. | |
| namespace | stan::math::internal |
| A comparator that works for any container type that has the brackets operator. | |
Functions | |
| template<bool any_fvar, bool partials_fvar, typename T_shape , typename T1 , typename T2 > | |
| std::optional< std::pair< return_type_t< T1, T2 >, return_type_t< T1, T2 > > > | stan::math::internal::eval_q_cf (const T1 &alpha, const T2 &beta_y) |
| Computes log q and d(log q) / d(alpha) using continued fraction. | |
| template<bool partials_fvar, typename T_shape , typename T1 , typename T2 > | |
| std::optional< std::pair< return_type_t< T1, T2 >, return_type_t< T1, T2 > > > | stan::math::internal::eval_q_log1m (const T1 &alpha, const T2 &beta_y) |
| Computes log q and d(log q) / d(alpha) using log1m. | |
| template<typename T_y , typename T_shape , typename T_inv_scale > | |
| return_type_t< T_y, T_shape, T_inv_scale > | stan::math::gamma_lccdf (const T_y &y, const T_shape &alpha, const T_inv_scale &beta) |