72 DOUBLE PRECISION FUNCTION dlarnd( IDIST, ISEED )
88 DOUBLE PRECISION one, two
89 parameter( one = 1.0d+0, two = 2.0d+0 )
90 DOUBLE PRECISION twopi
91 parameter( twopi = 6.28318530717958647692528676655900576839d+0 )
94 DOUBLE PRECISION t1, t2
101 INTRINSIC cos, log, sqrt
109 IF( idist.EQ.1 )
THEN
114 ELSE IF( idist.EQ.2 )
THEN
119 ELSE IF( idist.EQ.3 )
THEN
124 dlarnd = sqrt( -two*log( t1 ) )*cos( twopi*t2 )
double precision function dlaran(iseed)
DLARAN
double precision function dlarnd(idist, iseed)
DLARND