Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ check_3F2_converges()

template<typename T_a1 , typename T_a2 , typename T_a3 , typename T_b1 , typename T_b2 , typename T_z >
void stan::math::check_3F2_converges ( const char *  function,
const T_a1 &  a1,
const T_a2 &  a2,
const T_a3 &  a3,
const T_b1 &  b1,
const T_b2 &  b2,
const T_z &  z 
)
inline

Check if the hypergeometric function (3F2) called with supplied arguments will converge, assuming arguments are finite values.

Template Parameters
T_a1Type of a1
T_a2Type of a2
T_a3Type of a3
T_b1Type of b1
T_b2Type of b2
T_zType of z
Parameters
functionName of function ultimately relying on 3F2 (for error & messages)
a1Variable to check
a2Variable to check
a3Variable to check
b1Variable to check
b2Variable to check
zVariable to check
Exceptions
<code>domain_error</code>if 3F2(a1, a2, a3, b1, b2, z) does not meet convergence conditions, or if any coefficient is NaN.

Definition at line 40 of file check_3F2_converges.hpp.