3 DOUBLE PRECISION FUNCTION dgami (A, X)
31 DOUBLE PRECISION A, X, FACTOR, DLNGAM, DGAMIT
33 IF (a .LE. 0.d0) CALL
xermsg(
'SLATEC',
'DGAMI',
34 +
'A MUST BE GT ZERO', 1, 2)
35 IF (x .LT. 0.d0) CALL
xermsg(
'SLATEC',
'DGAMI',
36 +
'X MUST BE GE ZERO', 2, 2)
39 IF (x.EQ.0.0d0)
RETURN
42 factor =
exp(dlngam(a) + a*
log(x))
44 dgami = factor * dgamit(a, x)
octave_value log(void) const
subroutine xermsg(LIBRAR, SUBROU, MESSG, NERR, LEVEL)
double precision function dgami(A, X)