Scythe-1.0.3
double scythe::betafn ( double  a,
double  b 
) [inline]

The beta function.

Computes beta function, evaluated at (a, b).

Parameters:
aThe first parameter.
bThe second parameter.
See also:
lnbetafn(double a, double b)
pbeta(double x, double a, double b)
dbeta(double x, double a, double b)
rng::rbeta(double a, double b)
Exceptions:
scythe_invalid_arg(Level 1)
scythe_range_error(Level 1)
scythe_precision_error(Level 1)

References exp(), gammafn(), lnbetafn(), and SCYTHE_CHECK_10.

Referenced by dbeta().