68 DOUBLE PRECISION zi, zr
75 DOUBLE PRECISION selwi( 20 ), selwr( 20 )
78 INTEGER seldim, selopt
81 COMMON / sslct / selopt, seldim, selval, selwr, selwi
85 DOUBLE PRECISION rmin, x
89 parameter( zero = 0.0d0 )
97 IF( selopt.EQ.0 )
THEN
100 rmin =
dlapy2( zr-selwr( 1 ), zi-selwi( 1 ) )
103 x =
dlapy2( zr-selwr( i ), zi-selwi( i ) )
logical function dslect(zr, zi)
DSLECT
double precision function dlapy2(x, y)
DLAPY2 returns sqrt(x2+y2).