Loading web-font TeX/Main/Regular
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ lbeta() [10/10]

var stan::math::lbeta ( double  a,
const var b 
)
inline

Returns the natural logarithm of the beta function and its gradients.

\mathrm{lbeta}(a,b) = \ln\left(B\left(a,b\right)\right)

\frac{\partial }{\partial b} = \psi^{\left(0\right)}\left(b\right) - \psi^{\left(0\right)}\left(a + b\right)

Parameters
adouble Argument
bvar Argument
Returns
Result of log beta function

Definition at line 102 of file lbeta.hpp.