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

◆ grad_reg_inc_beta()

template<typename T >
void stan::math::grad_reg_inc_beta ( T &  g1,
T &  g2,
const T &  a,
const T &  b,
const T &  z,
const T &  digammaA,
const T &  digammaB,
const T &  digammaSum,
const T &  betaAB 
)

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.

Template Parameters
Ttype of arguments
Parameters
[out]g1partial derivative of ibeta(a, b, z) with respect to a
[out]g2partial derivative of ibeta(a, b, z) with respect to b
[in]aa
[in]bb
[in]zz
[in]digammaAthe value of digamma(a)
[in]digammaBthe value of digamma(b)
[in]digammaSumthe value of digamma(a + b)
[in]betaABthe value of beta(a, b)

Definition at line 33 of file grad_reg_inc_beta.hpp.