34 DATA sq2pil / 0.9189385332 0467274 e0 /
39 IF (p .LE. 0.0) CALL
xermsg(
'SLATEC',
'ALBETA',
40 +
'BOTH ARGUMENTS MUST BE GT ZERO', 1, 2)
41 IF (p.GE.10.0) go to 30
42 IF (q.GE.10.0) go to 20
46 albeta =
log(gamma(p) * (gamma(q)/gamma(p+q)) )
59 albeta = -0.5*
log(q) + sq2pil + corr + (p-0.5)*
log(p/(p+q))
octave_value log(void) const
charNDArray max(char d, const charNDArray &m)
subroutine xermsg(LIBRAR, SUBROU, MESSG, NERR, LEVEL)
charNDArray min(char d, const charNDArray &m)