1#ifndef STAN_MATH_PRIM_FUN_INV_INC_BETA_HPP
2#define STAN_MATH_PRIM_FUN_INV_INC_BETA_HPP
7#include <boost/math/special_functions/beta.hpp>
47template <
typename T1,
typename T2,
typename T3,
51 [](
auto&& d,
auto&&
e,
auto&& f) {
53 std::forward<
decltype(
e)>(
e),
54 std::forward<
decltype(f)>(f));
56 std::forward<T1>(a), std::forward<T2>(b), std::forward<T3>(c));
require_any_t< is_container< std::decay_t< Types > >... > require_any_container_t
Require any of the types satisfy is_container.
void check_bounded(const char *function, const char *name, const T_y &y, const T_low &low, const T_high &high)
Check if the value is between the low and high values, inclusively.
static constexpr double e()
Return the base of the natural logarithm.
auto apply_scalar_ternary(F &&f, T1 &&x, T2 &&y, T3 &&z)
Base template function for vectorization of ternary scalar functions defined by applying a functor to...
fvar< partials_return_t< T1, T2, T3 > > inv_inc_beta(const T1 &a, const T2 &b, const T3 &p)
The inverse of the normalized incomplete beta function of a, b, with probability p.
void check_not_nan(const char *function, const char *name, const T_y &y)
Check if y is not NaN.
void check_positive(const char *function, const char *name, const T_y &y)
Check if y is positive.
boost::math::policies::policy< boost::math::policies::overflow_error< boost::math::policies::errno_on_error >, boost::math::policies::pole_error< boost::math::policies::errno_on_error >, boost::math::policies::promote_double< false >, boost::math::policies::digits2< B > > boost_policy_t
Boost policy that overrides the defaults to match the built-in C++ standard library functions.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...