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

◆ grad_inc_beta() [1/3]

template<typename T >
void stan::math::grad_inc_beta ( fvar< T > &  g1,
fvar< T > &  g2,
fvar< T >  a,
fvar< T >  b,
fvar< T >  z 
)

Gradient of the incomplete beta function beta(a, b, z) with respect to the first two arguments.

Uses the equivalence to a hypergeometric function. See http://dlmf.nist.gov/8.17#ii

Template Parameters
Tinner type of the fvar
Parameters
[out]g1d/da
[out]g2d/db
[in]aa
[in]bb
[in]zz

Definition at line 34 of file grad_inc_beta.hpp.