Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Calculate the Gauss Hypergeometric (2F1) function for special-case combinations of parameters which can be calculated in closed-form.
For more background (and other possible special-cases), see: https://functions.wolfram.com/HypergeometricFunctions/Hypergeometric2F1/03/
The return value is wrapped in a boost::optional<> type so that a void return is possible if no special-case rules are applicable
Ta1 | Type of scalar first 'a' argument |
Ta2 | Type of scalar second 'a' argument |
Tb | Type of scalar 'b' argument |
Tz | Type of scalar 'z' argument |
[in] | a1 | First of 'a' arguments to function |
[in] | a2 | Second of 'a' arguments to function |
[in] | b | 'b' argument to function |
[in] | z | Scalar z argument |
Definition at line 48 of file hypergeometric_2F1.hpp.