2 DOUBLE PRECISION FUNCTION dlbeta (A, B)
32 DATA sq2pil / 0.9189385332 0467274178 0329736405 62 d0 /
37 IF (p .LE. 0.d0)
CALL xermsg (
'SLATEC',
'DLBETA',
38 +
'BOTH ARGUMENTS MUST BE GT ZERO', 1, 2)
40 IF (p.GE.10.d0)
GO TO 30
41 IF (q.GE.10.d0)
GO TO 20
52 1 + (q-0.5d0)*
dlnrel(-p/(p+q))
58 dlbeta = -0.5d0*log(q) + sq2pil + corr + (p-0.5d0)*log(p/(p+q))
charNDArray max(char d, const charNDArray &m)
charNDArray min(char d, const charNDArray &m)
double precision function d9lgmc(X)
double precision function dgamma(X)
double precision function dlbeta(A, B)
double precision function dlngam(X)
double precision function dlnrel(X)
subroutine xermsg(LIBRAR, SUBROU, MESSG, NERR, LEVEL)