1
double precision function dqwgts(x,a,b,alfa,beta,integr)
2
c***begin prologue dqwgts
4
c***routines called (none)
5
c***revision date 810101 (yymmdd)
6
c***keywords weight function, algebraico-logarithmic
7
c end-point singularities
8
c***author piessens,robert,appl. math. & progr. div. - k.u.leuven
9
c de doncker,elise,appl. math. & progr. div. - k.u.leuven
10
c***purpose this function subprogram is used together with the
11
c routine dqaws and defines the weight function.
12
c***end prologue dqwgts
14
double precision a,alfa,b,beta,bmx,dlog,x,xma
16
c***first executable statement dqwgts
19
dqwgts = xma**alfa*bmx**beta
20
go to (40,10,20,30),integr
21
10 dqwgts = dqwgts*dlog(xma)
23
20 dqwgts = dqwgts*dlog(bmx)
25
30 dqwgts = dqwgts*dlog(xma)*dlog(bmx)