Blame view
fvn_fnlib/zbeta.f
648 Bytes
0c3098aed ChW 02/2010 for t... |
1 |
complex(kind(1.d0)) function zbeta (a, b) |
38581db0c git-svn-id: https... |
2 3 |
implicit none c july 1977 edition. w. fullerton, c3, los alamos scientific lab. |
0c3098aed ChW 02/2010 for t... |
4 5 |
complex(kind(1.d0)) a, b, zgamma, zlbeta real(kind(1.d0)) xmax,xmin |
38581db0c git-svn-id: https... |
6 |
external zgamma, zlbeta |
00055ac08 Define some const... |
7 |
data xmax / 0.0d0 / |
38581db0c git-svn-id: https... |
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
c if (xmax.eq.0.0) call d9gaml (xmin, xmax) c if (real(a).le.0.0 .or. real(b).le.0.0) call seteru ( 1 48hzbeta real part of both arguments must be gt 0, 48, 1, 2) c if (real(a)+real(b).lt.xmax) zbeta = zgamma(a) * (zgamma(b)/ 1 zgamma(a+b) ) if (real(a)+real(b).lt.xmax) return c zbeta = exp (zlbeta(a, b)) c return end |