34#include "implicit_f.inc"
45 INTEGER IQ, J, I, IJ, IA, IND, L, M, MQ, LQ, LM, LL, , ILQ, IMQ,
46 . IM, , ILR, IMR, JQ, K
49 . range, anorm, anrmx, thr, x, y, sinx, sinx2, cosx, cosx2,
69 anorm = anorm+a(ia)*a(ia)
73 IF (anorm<=zero)
GOTO 300
74 anorm = onep414*sqrt(anorm)
75 anrmx = anorm*range/float(n)
87 IF (abs(a(lm))<thr)
GOTO 200
91 x = half*(a(ll)-a(mm))
92 y = -a(lm)/sqrt(a(lm)*a(lm)+x*x)
95 ELSEIF((x==zero).AND.(a(lm)<0))
THEN
97 ELSEIF((x==zero).AND.(a(lm)>0))
THEN
100 sinx = y/sqrt(two*(one+(sqrt(abs(one-y*y)))))
102 cosx = sqrt(abs(one-sinx2))
109 IF (i/=l.AND.i/=m)
THEN
120 x = a(il)*cosx-a(im)*sinx
121 a(im) = a(il)*sinx+a(im)*cosx
127 x = r(ilr)*cosx-r(imr)*sinx
128 r(imr) = r(ilr)*sinx+r(imr)*cosx
133 y = a(ll)*cosx2+a(mm)*sinx2-x
134 x = a(ll)*sinx2+a(mm)*cosx2+x
135 a(lm) = (a(ll)-a(mm))*sincs+a(lm)*(cosx2-sinx2)
174 IF (a(ll)<a(mm))
THEN
191 anorm=sqrt(r(1)*r(1)+r(2)*r(2)+r(3)*r(3))
195 anorm=sqrt(r(4)*r(4)+r(5)*r(5)+r(6)*r(6))
199 r(7)=r(2)*r(6)-r(3)*r(5)
200 r(8)=r(3)*r(4)-r(1)*r(6)
201 r(9)=r(1)*r(5)-r(2)*r(4)
202 anorm=sqrt(r(7)*r(7)+r(8)*r(8)+r(9)*r(9))