Automatic Differentiation
 
Loading...
Searching...
No Matches
hypergeometric_2F1.hpp File Reference

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<typename Ta1 , typename Ta2 , typename Tb , typename Tz , typename RtnT = boost::optional<return_type_t<Ta1, Ta1, Tb, Tz>>, require_all_arithmetic_t< Ta1, Ta2, Tb, Tz > * = nullptr>
RtnT stan::math::internal::hyper_2F1_special_cases (const Ta1 &a1, const Ta2 &a2, const Tb &b, const Tz &z)
 Calculate the Gauss Hypergeometric (2F1) function for special-case combinations of parameters which can be calculated in closed-form.
 
template<typename Ta1 , typename Ta2 , typename Tb , typename Tz , typename ScalarT = return_type_t<Ta1, Ta1, Tb, Tz>, typename OptT = boost::optional<ScalarT>, require_all_arithmetic_t< Ta1, Ta2, Tb, Tz > * = nullptr>
return_type_t< Ta1, Ta1, Tb, Tz > stan::math::hypergeometric_2F1 (const Ta1 &a1, const Ta2 &a2, const Tb &b, const Tz &z)
 Returns the Gauss hypergeometric function applied to the input arguments: \(_2F_1(a_1,a_2;b;z)\).