![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Computes the gradients of the regularized incomplete beta function.
Specifically, this function computes gradients of ibeta(a, b, z), with respect to the arguments a and b.
Uses the equivalence to a hypergeometric function. See http://dlmf.nist.gov/8.17#ii
| T | type of arguments |
| [out] | g1 | partial derivative of ibeta(a, b, z) with respect to a |
| [out] | g2 | partial derivative of ibeta(a, b,
z) with respect to b |
| [in] | a | a |
| [in] | b | b |
| [in] | z | z |
| [in] | digammaA | the value of digamma(a) |
| [in] | digammaB | the value of digamma(b) |
| [in] | digammaSum | the value of digamma(a + b) |
| [in] | betaAB | the value of beta(a, b) |
Definition at line 35 of file grad_reg_inc_beta.hpp.